IVsEnumCommentTaskTokens.Skip Method
Skips a specified number of comment task tokens in the enumeration sequence.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Déclaration
Function Skip ( _
celt As UInteger _
) As Integer
'Utilisation
Dim instance As IVsEnumCommentTaskTokens
Dim celt As UInteger
Dim returnValue As Integer
returnValue = instance.Skip(celt)
int Skip(
uint celt
)
int Skip(
[InAttribute] unsigned int celt
)
abstract Skip :
celt:uint32 -> int
function Skip(
celt : uint
) : int
Parameters
- celt
Type: System.UInt32
[in] Number of comment task tokens in the enumeration to skip.
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 IVsEnumCommentTaskTokens::Skip(
[in] ULONG celt
);
The comment task tokens are skipped 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 Next to retrieve the tokens from the enumeration.
.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.
See Also
Reference
IVsEnumCommentTaskTokens Interface