共用方式為


IVsOutputGroup.get_Outputs Method

Returns an array of pointers to IVsOutput2 interfaces providing access to a configuration's output items.

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

Syntax

'宣告
Function get_Outputs ( _
    celt As UInteger, _
    <OutAttribute> rgpcfg As IVsOutput2(), _
    <OutAttribute> pcActual As UInteger() _
) As Integer
'用途
Dim instance As IVsOutputGroup
Dim celt As UInteger
Dim rgpcfg As IVsOutput2()
Dim pcActual As UInteger()
Dim returnValue As Integer

returnValue = instance.get_Outputs(celt, _
    rgpcfg, pcActual)
int get_Outputs(
    uint celt,
    IVsOutput2[] rgpcfg,
    uint[] pcActual
)
int get_Outputs(
    [InAttribute] unsigned int celt, 
    [OutAttribute] array<IVsOutput2^>^ rgpcfg, 
    [OutAttribute] array<unsigned int>^ pcActual
)
abstract get_Outputs : 
        celt:uint32 * 
        rgpcfg:IVsOutput2[] byref * 
        pcActual:uint32[] byref -> int 
function get_Outputs(
    celt : uint, 
    rgpcfg : IVsOutput2[], 
    pcActual : uint[]
) : int

Parameters

  • celt
    Type: System.UInt32
    [in] Number of output items requested.
  • pcActual
    Type: array<System.UInt32[]
    [out, optional] Pointer to the number of actual outputs.

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_Outputs(
   [in] ULONG celt,
   [in, out, size_is(celt)] IVsOutput2 * rgpcfg[],
   [out, optional] ULONG *pcActual
);

This method returns a list of output items or zero if there are no output items. Not all files go out on every configuration and a group's files could all be configuration dependent.

.NET Framework Security

See Also

Reference

IVsOutputGroup Interface

IVsOutputGroup Members

Microsoft.VisualStudio.Shell.Interop Namespace