Compartilhar via


IVsOutputGroup.get_DisplayName Method

Returns the display name of the output group.

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

Syntax

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

Parameters

  • pbstrDisplayName
    Type: String%

    [out] Pointer to the display 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 IVsOutputGroup::get_DisplayName(
   [out] BSTR *pbstrDisplayName
);

Display names have no constraints. Third-party projects can use either Visual Studio canonical names or their own names.

This method returns the same information regardless of the project's configuration settings.

.NET Framework Security

See Also

Reference

IVsOutputGroup Interface

Microsoft.VisualStudio.Shell.Interop Namespace