Udostępnij za pośrednictwem


Metoda ColorableItem.GetCanonicalName —

Pobiera nazwę kanoniczną 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 GetCanonicalName ( _
    <OutAttribute> ByRef name As String _
) As Integer
public virtual int GetCanonicalName(
    out string name
)

Parametry

  • name
    Typ: System.String%
    [out] Ciąg zawierający nazwę kanoniczną tego elementu colorable.

Wartość zwracana

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

Implementuje

IVsMergeableUIItem.GetCanonicalName(String%)

Uwagi

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

Metody podstawowej zwraca nazwę elementu colorable i kod sukcesu E_NOTIMPL.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ColorableItem Klasa

Przestrzeń nazw Microsoft.VisualStudio.Package