IVsFontAndColorDefaults.GetCategoryName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.