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
)
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.
Permissions
- 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.