IVsEnumCommentTaskTokens::Next Method (UInt32, array<IVsCommentTaskToken^>^, UInt32)
Retrieves a specified number of comment task tokens in the enumeration sequence.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int Next( unsigned int celt, array<IVsCommentTaskToken^>^ rgelt, [OutAttribute] unsigned int% pceltFetched )
Parameters
- celt
-
Type:
System::UInt32
[in] The requested number of comment task tokens to retrieve.
- rgelt
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::IVsCommentTaskToken^>^
[out, size_is(celt), length_is(*pceltFetched)] The list of IVsCommentTaskToken objects that have been retrieved.
- pceltFetched
-
Type:
System::UInt32
[out] Pointer to the actual number of comment task tokens supplied in rgelt. Returns null if celt is one.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsEnumCommentTaskTokens::Next(
[in] ULONG celt,
[out, size_is(celt), length_is(*pceltFetched)] IVsCommentTaskToken **rgelt,
[out] ULONG *pceltFetched
);
The comment task tokens are retrieved from the current position of the enumeration. The Reset and Skip methods of this interface can be used to get to a particular position of the enumeration before using IVsEnumCommentTaskTokens.Next to retrieve the tokens from the enumeration.