共用方式為


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

'宣告
Function get_DisplayName ( _
    <OutAttribute> ByRef pbstrDisplayName As String _
) As Integer
'用途
Dim instance As IVsOutputGroup
Dim pbstrDisplayName As String
Dim returnValue As Integer

returnValue = instance.get_DisplayName(pbstrDisplayName)
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: System.String%
    [out] Pointer to the display 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 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

IVsOutputGroup Members

Microsoft.VisualStudio.Shell.Interop Namespace