共用方式為


IVsOutputGroup.get_KeyOutput Method

Returns the canonical name of the key output group.

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

Syntax

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

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

Parameters

  • pbstrCanonicalName
    Type: System.String%
    [out] Pointer to the canonical name of the key output group.

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_KeyOutput(
   [out] BSTR *pbstrCanonicalName
);

This method returns varying information based on the project's configuration settings.

.NET Framework Security

See Also

Reference

IVsOutputGroup Interface

IVsOutputGroup Members

Microsoft.VisualStudio.Shell.Interop Namespace