Freigeben über


Methods.GetType Method (Int32)

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

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)

Syntax

'Declaration
Public MustOverride Function GetType ( _
    index As Integer _
) As String
public abstract string GetType(
    int index
)
public:
virtual String^ GetType(
    int index
) abstract
abstract GetType : 
        index:int -> string
public abstract function GetType(
    index : int
) : String

Parameters

  • index
    Type: Int32

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

Return Value

Type: String
The return type of the specified method signature, or nulla 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.

.NET Framework Security

See Also

Reference

Methods Class

GetType Overload

Microsoft.VisualStudio.Package Namespace