IBidirectionalContainer<TValue> 接口

定义

支持向前迭代和向后迭代的容器接口。Interface for a container that supports both forward and backward iteration. 实现双向迭代的容器支持以下操作:通过调用 operator++ 向前移动一个位置和通过调用 operator-- 向后移动一个位置。Containers that implement bidirectional iteration support the following operations: moving forward one position by calling operator++, and moving backward one position by calling operator--.

generic <typename TValue>
public interface class IBidirectionalContainer
public interface IBidirectionalContainer<TValue>
type IBidirectionalContainer<'Value> = interface
Public Interface IBidirectionalContainer(Of TValue)

类型参数

TValue

受控序列中的元素的类型。The type of an element in the controlled sequence.

派生

方法

get_generation()

获取基础容器的当前换代。Gets the current change generation of the underlying container.

适用于