Compartir a través de


IVsFontAndColorGroup.GetGroupName Method

Returns a category group's localized name.

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

Syntax

'Declaration
Function GetGroupName ( _
    <OutAttribute> ByRef pbstrName As String _
) As Integer
int GetGroupName(
    out string pbstrName
)
int GetGroupName(
    [OutAttribute] String^% pbstrName
)
abstract GetGroupName : 
        pbstrName:string byref -> int
function GetGroupName(
    pbstrName : String
) : int

Parameters

  • pbstrName
    Type: String%

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

Return Value

Type: Int32
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.

.NET Framework Security

See Also

Reference

IVsFontAndColorGroup Interface

Microsoft.VisualStudio.Shell.Interop Namespace