Item Property (Int32)
Collapse the table of content
Expand the table of content

DataRelationCollection.Item Property (Int32)

 

Gets the DataRelation object at the specified index.

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

Public MustOverride ReadOnly Property Item (
	index As Integer
) As DataRelation

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:
© 2016 Microsoft