IVsMethodData.GetOverloadCount 方法

返回重载方法的数量。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

语法

声明
Function GetOverloadCount As Integer
int GetOverloadCount()
int GetOverloadCount()
abstract GetOverloadCount : unit -> int
function GetOverloadCount() : int

返回值

类型:Int32

备注

COM 签名

从 textmgr.idl:

long IVsMethodData::GetOverloadCount();

在重载函数,多个方法在方法提示窗口中显示。 例如,因此,如果方法的上下文流是 “移动”,因此该语言包含三个移动方案,然后重载计数是三。

.NET Framework 安全性

请参阅

参考

IVsMethodData 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间