DataRelationCollection::Item Property (String^)

 

Gets the DataRelation object specified by name.

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

public:
property DataRelation^ default[
	String^ name
] {
	virtual DataRelation^ get(String^ name) abstract;
}

Parameters

name
Type: System::String^

The name of the relation to find.

Property Value

Type: System.Data::DataRelation^

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

.NET Framework
Available since 1.1
Return to top
Show: