IVsProjectCfg2.get_OutputGroups Method
Returns an array of IVsOutputGroup pointers for the output groups of a configuration.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function get_OutputGroups ( _
celt As UInteger, _
<OutAttribute> rgpcfg As IVsOutputGroup(), _
<OutAttribute> pcActual As UInteger() _
) As Integer
int get_OutputGroups(
uint celt,
IVsOutputGroup[] rgpcfg,
uint[] pcActual
)
int get_OutputGroups(
[InAttribute] unsigned int celt,
[OutAttribute] array<IVsOutputGroup^>^ rgpcfg,
[OutAttribute] array<unsigned int>^ pcActual
)
abstract get_OutputGroups :
celt:uint32 *
rgpcfg:IVsOutputGroup[] byref *
pcActual:uint32[] byref -> int
function get_OutputGroups(
celt : uint,
rgpcfg : IVsOutputGroup[],
pcActual : uint[]
) : int
Parameters
- celt
Type: System.UInt32
[in] Requested number of output groups to be returned.
- rgpcfg
Type: array<Microsoft.VisualStudio.Shell.Interop.IVsOutputGroup[]
[in, out, size_is(celt)] Pointer to an array of IVsOutputGroup interface pointers.
- pcActual
Type: array<System.UInt32[]
[out, optional] Pointer to the actual number of output groups returned.
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 IVsProjectCfg2::get_OutputGroups(
[in] ULONG celt,
[in, out, size_is(celt)] IVsOutputGroup *rgpcfg[],
[out, optional] ULONG *pcActual
);
If celt is zero and pcActual is not nulla null reference (Nothing in Visual Basic), the number of configuration objects is returned in *pcActual. If celt is not zero, rgpcfg must not be nulla null reference (Nothing in Visual Basic) or E_POINTER is returned.
Call this method twice, first with celt and prgpcfg set to zero and nulla null reference (Nothing in Visual Basic), respectively, to get the count, then second after allocating pcActual objects.
.NET Framework Security
- 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.