返回的方法签名的数量可能显示。
命名空间: Microsoft.VisualStudio.Package
程序集: Microsoft.VisualStudio.Package.LanguageService.9.0(在 Microsoft.VisualStudio.Package.LanguageService.9.0.dll 中)
Microsoft.VisualStudio.Package.LanguageService(在 Microsoft.VisualStudio.Package.LanguageService.dll 中)
Microsoft.VisualStudio.Package.LanguageService.11.0(在 Microsoft.VisualStudio.Package.LanguageService.11.0.dll 中)
Microsoft.VisualStudio.Package.LanguageService.10.0(在 Microsoft.VisualStudio.Package.LanguageService.10.0.dll 中)
语法
声明
Public Function GetOverloadCount As Integer
public int GetOverloadCount()
返回值
类型:System.Int32
如果至少有一个方法签名,返回的方法签名的数量可用;否则,返回 0。
实现
IVsMethodData.GetOverloadCount()
备注
此方法是 GetOverloadCount 方法的实现。 IVsMethodData 接口的。
向前该基方法以 GetCount 方法的调用传递给 Refresh 方法的 Methods 对象,不过,只有当 IVsTextView (方法提示可以通过示) 和 Methods (因此有公开的方法签名) 对象是有效的。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。