OutputGroup.get_Outputs Method

Gets any number of outputs in this group.

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

Syntax

'宣言
Public Overridable Function get_Outputs ( _
    celt As UInteger, _
    rgpcfg As IVsOutput2(), _
    pcActual As UInteger() _
) As Integer
'使用
Dim instance As OutputGroup
Dim celt As UInteger
Dim rgpcfg As IVsOutput2()
Dim pcActual As UInteger()
Dim returnValue As Integer

returnValue = instance.get_Outputs(celt, _
    rgpcfg, pcActual)
public virtual int get_Outputs(
    uint celt,
    IVsOutput2[] rgpcfg,
    uint[] pcActual
)
public:
virtual int get_Outputs(
    unsigned int celt, 
    array<IVsOutput2^>^ rgpcfg, 
    array<unsigned int>^ pcActual
)
public function get_Outputs(
    celt : uint, 
    rgpcfg : IVsOutput2[], 
    pcActual : uint[]
) : int

Parameters

  • rgpcfg
    Type: []

    An array of IVsOutput2 interfaces to the outputs.

  • pcActual
    Type: []

    pcActual[0] will return as the number of outputs returned.

Return Value

Type: System.Int32

If the method returns the number of outputs requested, it returns S_OK. Otherwise it returns S_FALSE.

Implements

IVsOutputGroup2.get_Outputs(UInt32, [], [])
IVsOutputGroup.get_Outputs(UInt32, [], [])

Remarks

This method is the implementation for get_Outputs. If either celt is 0 or rgpcfg is null, the assumption is that the caller wanted to get only the number of outputs, which will be returned in pcActual[0]. Otherwise it will return all the outputs in the group in the rgpcfg array, and return the number of outputs returned in pcActual[0].

Permissions

See Also

Reference

OutputGroup Class

OutputGroup Members

Microsoft.VisualStudio.Package Namespace