DataRelationCollection.RemoveAt(Int32) 方法

定义

从集合中移除指定索引位置的关系。Removes the relation at the specified index from the collection.

public:
 void RemoveAt(int index);
public void RemoveAt (int index);
member this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)

参数

index
Int32

要移除的关系的索引。The index of the relation to remove.

例外

该集合在指定的索引位置没有关系。The collection does not have a relation at the specified index.

注解

CollectionChanged如果删除操作成功,则会触发事件。The CollectionChanged event is fired if the remove operation succeeds.

适用于