DataRelationCollection.Item Property (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the DataRelation object at the specified index.

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

public abstract DataRelation this[
	int index
] { get; }

Parameters

index
Type: System.Int32

The zero-based index to find.

Property Value

Type: System.Data.DataRelation

The DataRelation, or a null value if the specified DataRelation does not exist.

Exception Condition
IndexOutOfRangeException

The index value is greater than the number of items in the collection.

.NET Framework
Available since 1.1
Return to top
Show: