Udostępnij za pośrednictwem


Metoda ColorableItem.GetDescription —

Zwraca opis tego elementu colorable.

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

Składnia

'Deklaracja
Public Overridable Function GetDescription ( _
    <OutAttribute> ByRef desc As String _
) As Integer
public virtual int GetDescription(
    out string desc
)

Parametry

Wartość zwracana

Typ: System.Int32
Jeśli się powiedzie, zwraca S_OK; w przeciwnym razie zwraca kod błędu.

Implementuje

IVsMergeableUIItem.GetDescription(String%)

Uwagi

Ta metoda jest implementacją GetDescription metodę w IVsMergeableUIItem interfejsu.

Metody podstawowej zwraca wartość null dla opisu (Edytor tekstu podstawowego nie używa tej wartości) i kod sukcesu E_NOTIMPL.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ColorableItem Klasa

Przestrzeń nazw Microsoft.VisualStudio.Package