IVsOutput2.get_DisplayName Method

Returns the display name of an output item.

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: System.String%
    [out] Pointer to the display name of the output item.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsOutput.get_DisplayName(String%)

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsOutput2::get_DisplayName(
   [out] BSTR *pbstrDisplayName
);

.NET Framework Security

See Also

Reference

IVsOutput2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace