共用方式為


IVsEnumBSTR.Skip 方法

略過列舉序列中的 BSTRs。

命名空間:  Microsoft.VisualStudio.TextManager.Interop
組件:  Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

語法

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

參數

  • celt
    類型:UInt32

    [in]若要跳過的 BSTRs 的數目。

傳回值

類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。

備註

COM 簽章

從 textmgr.idl:

[C++]

HRESULT IVsEnumBSTR::Skip(
   [in] ULONG celt
);

.NET Framework 安全性

請參閱

參考

IVsEnumBSTR 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間