Compartilhar via


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

'Declaration
Function Skip ( _
    celt As UInteger _
) As Integer
int Skip(
    uint celt
)
int Skip(
    [InAttribute] unsigned int celt
)
abstract Skip : 
        celt:uint32 -> int
function Skip(
    celt : uint
) : int

Parameters

  • celt
    Type: UInt32

    [in] Number of comment task tokens in the enumeration to skip.

Return Value

Type: 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

See Also

Reference

IVsEnumCommentTaskTokens Interface

Microsoft.VisualStudio.Shell.Interop Namespace