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
)
function get_Outputs(
celt : uint,
rgpcfg : IVsOutput2[],
pcActual : uint[]
) : int
Parameters
celt
Type: System.UInt32[in] Number of output items requested.
rgpcfg
Type: [][in, out] On input, a pointer to an array of IVsOutput2 interfaces for the requested output items. On output, an array containing the number of entries specified by celt.
pcActual
Type: [][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.
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.