简体   繁体   English

在Visual Studio 2010中未获取Intellisense函数参数

[英]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无法选择方法本身,因此也不能选择参数。
  • method is hidden from intellisense. 方法是从智能感知中隐藏的。
  • your expectation of the method does not match with reality (ie you expect newer/older version of the method that you actually have). 您对方法的期望与现实不符(即您期望实际使用的方法的新/旧版本)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM