Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Usage
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.