[英]Not getting Intellisense function parameters in Visual Studio 2010
Using Visual Studio 2010
, I am typing in the name of a function as follows: 使用
Visual Studio 2010
,我按如下所示输入函数的名称:
MyClass mc = MyClassOfStaticMethods.GetMyClassInstance(
The method GetMyClassInstance
takes two parameters, but when I type the above I am not getting the Intellisense
showing me the parameter list for the method. 方法
GetMyClassInstance
具有两个参数,但是当我键入上面的参数时,并没有得到显示该方法的参数列表的Intellisense
。 Why not? 为什么不?
Possible guesses 可能的猜测
GetMyClassInstance
is instance method so intellisense can't pick method itself, and hence arguments. GetMyClassInstance
是实例方法,因此intellisense无法选择方法本身,因此也不能选择参数。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.