OutputGroup.get_KeyOutput Method

Gets the name of the key output group.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Overridable Function get_KeyOutput ( _
    <OutAttribute> ByRef pbstrCanonicalName As String _
) As Integer
'使用
Dim instance As OutputGroup
Dim pbstrCanonicalName As String
Dim returnValue As Integer

returnValue = instance.get_KeyOutput(pbstrCanonicalName)
public virtual int get_KeyOutput(
    out string pbstrCanonicalName
)
public:
virtual int get_KeyOutput(
    [OutAttribute] String^% pbstrCanonicalName
)
public function get_KeyOutput(
    pbstrCanonicalName : String
) : int

Parameters

  • pbstrCanonicalName
    Type: System.String%

    [out] Returns 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.

Implements

IVsOutputGroup2.get_KeyOutput(String%)
IVsOutputGroup.get_KeyOutput(String%)

Remarks

This method implements get_KeyOutput.

Setting a key output allows packaging shortcuts to point to the main output of a group.

Permissions

See Also

Reference

OutputGroup Class

OutputGroup Members

Microsoft.VisualStudio.Package Namespace