IEnumConnectionPoints.Skip(Int32) 方法

定義

略過列舉序列中指定的項目數目。Skips a specified number of items in the enumeration sequence.

public:
 int Skip(int celt);
public int Skip (int celt);
abstract member Skip : int -> int
Public Function Skip (celt As Integer) As Integer

參數

celt
Int32

列舉型別中要略過的項目數。The number of elements to skip in the enumeration.

傳回

如果略過的元素數目等於 S_OK 參數,則為 celt,否則為 S_FALSES_OK if the number of elements skipped equals the celt parameter; otherwise, S_FALSE.

備註

如需 IEnumConnectionPoints::Skip的詳細資訊,請參閱 MSDN Library。For more information about IEnumConnectionPoints::Skip, see the MSDN Library.

適用於