IVsEnumExternalErrors.Skip 方法

在元素中指定数目的跳过。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop.8.0(在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)

语法

声明
Function Skip ( _
    celts As UInteger _
) As Integer
int Skip(
    uint celts
)
int Skip(
    [InAttribute] unsigned int celts
)
abstract Skip : 
        celts:uint32 -> int
function Skip(
    celts : uint
) : int

参数

  • celts
    类型:UInt32

    [in] 跳过的元素数。

返回值

类型:Int32
如果成功,则返回 S_OK。返回 S_FALSE ,如果 celt 参数比其余元素的数量大。否则,返回错误代码。

备注

COM 签名

从 singlefileeditor.idl:

HRESULT Skip(
   [in] ULONG celts
);

如果 celt 参数比剩余的元素数指定值,枚举设置为末尾,并 S_FALSE 返回。

.NET Framework 安全性

请参阅

参考

IVsEnumExternalErrors 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间