MethodData.PrevMethod 方法

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

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

返回值

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

实现

IVsMethodData.PrevMethod()

备注

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

基础方法由一个减内部索引并返回原始索引。但是,因此,如果索引可能小于零下,转到减量未实现,并且当前索引返回。该基方法不会影响该显示。

.NET Framework 安全性

请参见

参考

MethodData 类

Microsoft.VisualStudio.Package 命名空间