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
'宣言
Function Next ( _
celt As UInteger, _
<OutAttribute> rgelt As Guid(), _
<OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
'使用
Dim instance As IEnumProjectStartupServices
Dim celt As UInteger
Dim rgelt As Guid()
Dim pceltFetched As UInteger
Dim returnValue As Integer
returnValue = instance.Next(celt, rgelt, _
pceltFetched)
int Next(
uint celt,
Guid[] rgelt,
out uint pceltFetched
)
int Next(
[InAttribute] unsigned int celt,
[OutAttribute] array<Guid>^ rgelt,
[OutAttribute] unsigned int% pceltFetched
)
function Next(
celt : uint,
rgelt : Guid[],
pceltFetched : uint
) : int
Parameters
celt
Type: System.UInt32[in] Number of interfaces to return, or zero to indicate a request for all of the objects.
rgelt
Type: [][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. If it 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
);
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.
See Also
Reference
IEnumProjectStartupServices Interface