IEnumProjectStartupServices.Next Method
Retrieves the next group of project startup services interfaces.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function Next ( _
celt As UInteger, _
<OutAttribute> rgelt As Guid(), _
<OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
int Next(
uint celt,
Guid[] rgelt,
out uint pceltFetched
)
int Next(
[InAttribute] unsigned int celt,
[OutAttribute] array<Guid>^ rgelt,
[OutAttribute] unsigned int% pceltFetched
)
abstract Next :
celt:uint32 *
rgelt:Guid[] byref *
pceltFetched:uint32 byref -> int
function Next(
celt : uint,
rgelt : Guid[],
pceltFetched : uint
) : int
Parameters
celt
Type: System.UInt32[in] Number of interfaces to return. Zero indicates that pceltFetched will be set to the number of remaining elements without filling the rgelt array (which may be NULL) with any values.
rgelt
Type: array<System.Guid[][out] An array of interface objects. Contains pceltFetched objects.
pceltFetched
Type: System.UInt32%[out] Actual number of interfaces retrieved.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. When the end of the enumeration is reached, the method returns S_FALSE and sets pceltFetched to 0. If the method fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IEnumProjectStartupServices::Next(
[in] ULONG celt,
[out, size_is(celt), length_is(*pceltFetched)] GUID *rgelt,
[out] ULONG *pceltFetched
);
.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.