IVsFontAndColorDefaults.GetCategoryName(String) Method

Definition

Returns the display name of a Display Items category.

public:
 int GetCategoryName([Runtime::InteropServices::Out] System::String ^ % pbstrName);
int GetCategoryName([Runtime::InteropServices::Out] std::wstring const & & pbstrName);
public int GetCategoryName (out string pbstrName);
abstract member GetCategoryName : string -> int
Public Function GetCategoryName (ByRef pbstrName As String) As Integer

Parameters

pbstrName
String

[out] Pointer to a string containing the name of the Display Items category.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsFontAndColorDefaults::GetCategoryName(  
   [out] BSTR *pbstrName  
);  

The name supplied in pbstrName is displayed on the Fonts and Colors page. Because this name is displayed to the user, it must be localized.

Applies to