IEnumComReferences::Next Method (UInt32, array<COMREFERENCE>^, UInt32)

 

Retrieves the next group of COM references.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int Next(
	unsigned int celt,
	array<COMREFERENCE>^ rgRefs,
	[OutAttribute] unsigned int% pceltFetched
)

Parameters

celt
Type: System::UInt32

[in] Number of COM references to return, or zero to indicate a request for all of the objects.

rgRefs
Type: array<Microsoft.VisualStudio.Shell.Interop::COMREFERENCE>^

[out] An array of COMREFERENCE objects. Contains pceltFetched objects.

pceltFetched
Type: System::UInt32

[out] Actual number of COM references retrieved.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

[C++]

HRESULT IEnumComReferences::Next(
   [in] ULONG celt, 
   [out, size_is(celt), length_is(*pceltFetched)] PCOMREFERENCE rgRefs,    [out] ULONG *pceltFetched
);
Return to top
Show: