Gets an array of IVsOutputGroup pointers to the output groups of the configuration.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Function get_OutputGroups ( _
celt As UInteger, _
rgpcfg As IVsOutputGroup(), _
pcActual As UInteger() _
) As Integer
'使用
Dim instance As ProjectConfig
Dim celt As UInteger
Dim rgpcfg As IVsOutputGroup()
Dim pcActual As UInteger()
Dim returnValue As Integer
returnValue = instance.get_OutputGroups(celt, _
rgpcfg, pcActual)
public virtual int get_OutputGroups(
uint celt,
IVsOutputGroup[] rgpcfg,
uint[] pcActual
)
public:
virtual int get_OutputGroups(
unsigned int celt,
array<IVsOutputGroup^>^ rgpcfg,
array<unsigned int>^ pcActual
)
public function get_OutputGroups(
celt : uint,
rgpcfg : IVsOutputGroup[],
pcActual : uint[]
) : int
Parameters
celt
Type: System.UInt32The number of output groups, or 0 to ask for the number.
rgpcfg
Type: []A pre-allocated array of output groups.
pcActual
Type: []The first member of the array is the returned number of output groups.
Return Value
Type: System.Int32
If the method succeeds, S_OK, otherwise an error code.
Implements
IVsProjectCfg2.get_OutputGroups(UInt32, [], [])
Remarks
If celt is zero and pcActual is not a null reference (Nothing in Visual Basic), the number of output groups is returned in *pcActual. Call this method twice, the first time with celt set to 0 and prgpcfg set to a null reference (Nothing in Visual Basic) to get the count, and the second time with the returned values after allocating the rgpcfg array.
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.