System.Data Namespace DataRelationCollection Class
Returns the DataRelation from the collection with the specified name.
DataRelation variable = DataRelationCollection.Item [ name ]; ... or ... DataRelation variable = DataRelationCollection [ name ];
dim variable as DataRelation = DataRelationCollection.Item ( name ) ... or ... dim variable as DataRelation = DataRelationCollection ( name )
variable : DataRelation = DataRelationCollection.Item ( name ); ... or ... variable : DataRelation = DataRelationCollection ( name );
The DataRelation with the specified RelationName.
If the specified DataRelation does not exist, a null value is returned. To avoid this, the Contains method can be used to test for the existence of a relation, before attempting to use the Item property.
NOTE: The Item property is not case-sensitive when searching for relation names.
DataRelationCollection Members DataRelationCollection.Item Overload List Contains DataRelation
© 2000-2010 Rey Nuñez All rights reserved.If you have any question, comment or suggestion about this site, please send us a note
You can help support asp.net.ph