Partager via


IVsMethodData.GetOverloadCount Method

Returns the number of overloaded methods.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Déclaration
Function GetOverloadCount As Integer
'Utilisation
Dim instance As IVsMethodData
Dim returnValue As Integer

returnValue = instance.GetOverloadCount()
int GetOverloadCount()
int GetOverloadCount()
abstract GetOverloadCount : unit -> int 
function GetOverloadCount() : int

Return Value

Type: System.Int32

Remarks

COM Signature

From textmgr.idl:

long IVsMethodData::GetOverloadCount();

In the case of overloaded functions, more than one method could be displayed in the method tip window. For example, if the context stream for the method is "Move" and your language contains three Move methods, then overload count is three.

.NET Framework Security

See Also

Reference

IVsMethodData Interface

IVsMethodData Members

Microsoft.VisualStudio.TextManager.Interop Namespace