如何获得以下的适当命名空间 [英] how to get a proper namespace for the following

查看:94
本文介绍了如何获得以下的适当命名空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用SLAdcheckBusinnesObjects.Dictionaries.BusinnesYearDictionary;

using SLAdcheckBusinnesObjects.Dictionaries.BusinnesYearDictionary;












错误20 using namespace指令只能应用于名称空间; 'SLAdcheckBusinnesObjects.Dictionaries.BusinnesYearDictionary'是一个类型而不是命名空间D:\ Factory \factory






Error 20 A using namespace directive can only be applied to namespaces; 'SLAdcheckBusinnesObjects.Dictionaries.BusinnesYearDictionary' is a type not a namespace D:\Factory\factory

推荐答案

您已将该类型包含在using指令中。这是正确的陈述:

使用SLAdcheckBusinnesObjects.Dictionaries
You have included the type in the using directive. This is the correct statement:
using SLAdcheckBusinnesObjects.Dictionaries


请停止发布随机错误消息,并尝试考虑你在做什么。



查看您的错误消息,并尝试弄清楚它与您的代码的关系 - 因为我们无权访问它,我们不得不猜测!
Please stop posting random error message, and try thinking about what you are doing.

Look at your error messages, and try to work out how that relates to your code - because we don't have access to it, and we would have to guess!


这篇关于如何获得以下的适当命名空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆