RemoveAt Method

DataRelationCollection.RemoveAt Method (Int32)

 

Removes the relation at the specified index from the collection.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

public void RemoveAt(
	int index
)

Parameters

index
Type: System.Int32

The index of the relation to remove.

Exception Condition
ArgumentException

The collection does not have a relation at the specified index.

The CollectionChanged event is fired if the remove operation succeeds.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft