IBaseIterator<TValue> 介面

定義

定義所有 STL/CLR Iterator 的基底介面。

generic <typename TValue>
public interface class IBaseIterator : ICloneable
public interface IBaseIterator<TValue> : ICloneable
type IBaseIterator<'Value> = interface
    interface ICloneable
Public Interface IBaseIterator(Of TValue)
Implements ICloneable

類型參數

TValue

受控制序列中項目的類型。

衍生
實作

方法

Clone()

建立目前執行個體複本的新物件。

(繼承來源 ICloneable)
container()

取得 Iterator 所周遊的容器。

get_bias()

取得 Iterator 的偏差。 偏差是 Iterator 從項目零開始的位移。

get_node()

取得 Iterator 目前正指向的節點或項目。

next()

將 Iterator 遞增至基礎容器中的下一個位置,或者,如果已完全周遊容器,就遞增至超過容器末端的第一個位置。

valid()

判斷 Iterator 是否有效,以及是否可安全的用於周遊基礎容器。

適用於