共用方式為


IVsFontAndColorGroup.GetGroupName(String) Method

Definition

Returns a category group's localized name.

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

Parameters

pbstrName
String

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

Returns

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

Remarks

COM Signature

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.

Applies to