共用方式為


IVsEnumBufferCoordinatorSpans.Skip Method

Skips over the specified number of elements.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'宣告
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

Return Value

Type: System.Int32
If successful, returns S_OK. Returns S_FALSE if the celt parameter is greater than the number of remaining elements. Otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

HRESULT Skip(
   [in] ULONG celt
);

If the celt parameter specifies a value greater than the number of remaining elements, the enumeration is set to the end and S_FALSE is returned.

.NET Framework Security

See Also

Reference

IVsEnumBufferCoordinatorSpans Interface

Microsoft.VisualStudio.TextManager.Interop Namespace