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
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 elements to skip.
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
- 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.