MethodData.NextMethod 方法

移动到下一个方法签名和返回当前方法签名的索引。

命名空间:  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 NextMethod As Integer
public int NextMethod()

返回值

类型:System.Int32
返回表示当前方法签名的数字。

实现

IVsMethodData.NextMethod()

备注

此方法是 NextMethod 方法的实现。 IVsMethodData 接口的。

基础方法会将增加内部索引并返回原始索引。但是,因此,如果索引可能只通过限制,则每个未实现,并且当前索引返回。该基方法不会影响该显示。

.NET Framework 安全性

请参见

参考

MethodData 类

Microsoft.VisualStudio.Package 命名空间