IVsFontAndColorGroup::GetGroupName Method (String^)

 

Returns a category group's localized name.

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

int GetGroupName(
	[OutAttribute] String^% pbstrName
)

Parameters

pbstrName
Type: System::String^

[out] Pointer to a string containing the name..

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 IVsFontAndColorGroup::GetGroupName(
   [out] BSTR *pbstrName
);

The name returned in pbstrName will be displayed on the Fonts and Colors page enclosed in brackets to indicate that it is a super-category. Since the name is displayed to the user, it must be localized.

Return to top
Show: