IVsEnumCommentTaskTokens.Next(UInt32, IVsCommentTaskToken[], UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves a specified number of comment task tokens in the enumeration sequence.
public:
int Next(System::UInt32 celt, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsCommentTaskToken ^> ^ rgelt, [Runtime::InteropServices::Out] System::UInt32 % pceltFetched);
int Next(unsigned int celt, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsCommentTaskToken const &> const & rgelt, [Runtime::InteropServices::Out] unsigned int & pceltFetched);
public int Next (uint celt, Microsoft.VisualStudio.Shell.Interop.IVsCommentTaskToken[] rgelt, out uint pceltFetched);
abstract member Next : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsCommentTaskToken[] * uint32 -> int
Public Function Next (celt As UInteger, rgelt As IVsCommentTaskToken(), ByRef pceltFetched As UInteger) As Integer
Parameters
- celt
- UInt32
[in] The requested number of comment task tokens to retrieve.
- rgelt
- IVsCommentTaskToken[]
[out, size_is(celt), length_is(*pceltFetched)] The list of IVsCommentTaskToken objects that have been retrieved.
- pceltFetched
- UInt32
[out] Pointer to the actual number of comment task tokens supplied in rgelt
. Returns null
if celt
is one.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
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.