RouteCollection.RemoveItem(Int32) 方法

定义

RouteCollection 对象的指定索引处删除路由。

protected:
 override void RemoveItem(int index);
protected override void RemoveItem (int index);
override this.RemoveItem : int -> unit
Protected Overrides Sub RemoveItem (index As Integer)

参数

index
Int32

要删除的路由的从零开始的索引。

注解

GetReadLock使用方法和GetWriteLock方法确保与集合交互,而不会与其他进程发生冲突。

适用于

另请参阅