IVsFontAndColorDefaults::GetCategoryName Method (String^)

 

Returns the display name of a Display Items category.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetCategoryName(
	[OutAttribute] String^% pbstrName
)

Parameters

pbstrName
Type: System::String^

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

Return Value

Type: System::Int32

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

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.

Return to top
Show: