Udostępnij za pośrednictwem


Metoda Methods.GetType — (Int32)

Po wdrożeniu w klasie pochodnej pobiera zwracany typ podpisu określoną metodą.

Przestrzeń nazw:  Microsoft.VisualStudio.Package
Zestawy:   Microsoft.VisualStudio.Package.LanguageService.11.0 (w Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (w Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (w Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (w Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Składnia

'Deklaracja
Public MustOverride Function GetType ( _
    index As Integer _
) As String
public abstract string GetType(
    int index
)

Parametry

  • index
    Typ: System.Int32
    [w] Indeks do listy metoda podpisów.

Wartość zwracana

Typ: System.String
Zwracany typ podpisu określona metoda lub nullodwołanie o wartości null (Nothing w języku Visual Basic).

Uwagi

W Visual C#/Visual C++, typ zwracany jest zawsze taka sama.Jednakże inne języki mogą zezwalać na różne typy zwrotu.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

Methods Klasa

Przeciążenie GetType

Przestrzeń nazw Microsoft.VisualStudio.Package