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

‘선언
Function GetGroupName ( _
    <OutAttribute> ByRef pbstrName As String _
) As Integer
‘사용 방법
Dim instance As IVsFontAndColorGroup
Dim pbstrName As String
Dim returnValue As Integer

returnValue = instance.GetGroupName(pbstrName)
int GetGroupName(
    out string pbstrName
)
int GetGroupName(
    [OutAttribute] String^% pbstrName
)
abstract GetGroupName : 
        pbstrName:string byref -> int 
function GetGroupName(
    pbstrName : String
) : int

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.

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

IVsFontAndColorGroup Members

Microsoft.VisualStudio.Shell.Interop Namespace