IVsEnumCodeBlocks.Skip(UInt32) 方法

定义

跳过指定数目的元素。

public:
 int Skip(System::UInt32 celt);
public:
 int Skip(unsigned int celt);
int Skip(unsigned int celt);
public int Skip (uint celt);
abstract member Skip : uint32 -> int
Public Function Skip (celt As UInteger) As Integer

参数

celt
UInt32

中要跳过的元素数。

返回

Int32

如果成功,则返回 S_OKS_FALSE如果 celt 参数大于剩余元素的数目,则返回。 否则,返回错误代码。

注解

COM 签名

从 singlefileeditor:

HRESULT Skip(  
   [in] ULONG celt  
);  

如果 celt 参数指定的值大于剩余元素的数目,则枚举将设置为 end,并 S_FALSE 返回。

适用于