Metoda IVsFontAndColorDefaults.GetCategoryName — (String)
Zwraca nazwę wyświetlaną Wyświetlić elementy kategorii.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Interop
Zestaw: Microsoft.VisualStudio.Shell.Interop (w Microsoft.VisualStudio.Shell.Interop.dll)
Składnia
int GetCategoryName(
out string pbstrName
)
int GetCategoryName(
[OutAttribute] String^% pbstrName
)
abstract GetCategoryName :
pbstrName:string byref -> int
Function GetCategoryName (
<OutAttribute> ByRef pbstrName As String
) As Integer
Parametry
- pbstrName
[out] Wskaźnik, aby ciąg zawierający nazwę kategorii, wyświetlania elementów.
Wartość zwracana
Type: System.Int32
Jeśli metoda się powiedzie, zwraca S_OK.Jeśli nie powiedzie się, zwraca kod błędu.
Uwagi
Podpis COM
Z vsshell.idl:
HRESULT IVsFontAndColorDefaults::GetCategoryName(
[out] BSTR *pbstrName
);
Nazwa dostarczona w pbstrName jest wyświetlany na czcionki i kolory strony.Ponieważ ta nazwa jest wyświetlana dla użytkownika, musi być lokalizowane.
Zobacz też
Interfejs IVsFontAndColorDefaults
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku