IVsProjectCfgProvider::GetCfgs Method (UInt32, array<IVsCfg^>^, array<UInt32>^, array<UInt32>^)
Returns one or more configuration objects.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int GetCfgs( unsigned int celt, array<IVsCfg^>^ rgpcfg, array<unsigned int>^ pcActual, array<unsigned int>^ prgfFlags )
Parameters
- celt
-
Type:
System::UInt32
[in] Number of configuration objects to be returned or zero, indicating a request for an unknown number of objects.
- rgpcfg
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::IVsCfg^>^
[in, out, size_is(celt)] On input, pointer to an interface array or null. On output, this parameter points to an array of IVsCfg interfaces belonging to the requested configuration objects.
- pcActual
-
Type:
array<System::UInt32>^
[out, optional] Pointer to the number of configuration objects actually returned or null, if this information is not necessary.
- prgfFlags
-
Type:
array<System::UInt32>^
[out, optional] Flags that specify settings for project configurations, or null if no additional flag settings are required. For valid prgrFlags values, see __VSCFGFLAGS.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsProjectCfgProvider::GetCfgs( [in] ULONG celt, [in, out, size_is(celt)] IVsCfg *rgpcfg[], [out, optional] ULONG *pcActual, [out, optional] VSCFGFLAGS *prgfFlags );