IVsProjectCfg2::get_OutputGroups Method (UInt32, array<IVsOutputGroup^>^, array<UInt32>^)

 

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)

int get_OutputGroups(
	unsigned int celt,
	array<IVsOutputGroup^>^ rgpcfg,
	array<unsigned int>^ pcActual
)

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.

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 null, the number of configuration objects is returned in *pcActual. If celt is not zero, rgpcfg must not be null or E_POINTER is returned.

Call this method twice, first with celt and prgpcfg set to zero and null, respectively, to get the count, then second after allocating pcActual objects.

Return to top
Show: