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

'Declaration
Function GetOverloadCount As Integer
int GetOverloadCount()
int GetOverloadCount()
abstract GetOverloadCount : unit -> int
function GetOverloadCount() : int

Return Value

Type: System.Int32
Returns the overload count.

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

Microsoft.VisualStudio.TextManager.Interop Namespace