共用方式為


IVsEnumCodeBlocks.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
'用途
Dim instance As IVsEnumCodeBlocks
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

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

IVsEnumCodeBlocks Interface

IVsEnumCodeBlocks Members

Microsoft.VisualStudio.TextManager.Interop Namespace