Methods.GetType Method (Int32)

When implemented in a derived class, gets the return type of the specified method signature.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'宣言
Public MustOverride Function GetType ( _
    index As Integer _
) As String
'使用
Dim instance As Methods
Dim index As Integer
Dim returnValue As String

returnValue = instance.GetType(index)
public abstract string GetType(
    int index
)
public:
virtual String^ GetType(
    int index
) abstract
public abstract function GetType(
    index : int
) : String

Parameters

  • index
    Type: System.Int32

    [in] An index into the list of method signatures.

Return Value

Type: System.String

The return type of the specified method signature, or a null reference (Nothing in Visual Basic).

Remarks

In Visual C#/Visual C++, the return type is always the same. However, other languages may allow for different return types.

Permissions

See Also

Reference

Methods Class

Methods Members

GetType Overload

Microsoft.VisualStudio.Package Namespace