System.Data.DataRelationCollection.Contains C# (CSharp) Method

Contains() public method

Returns true if this collection has a relation with the given name (case insensitive), false otherwise.
public Contains ( string name ) : bool
name string
return bool
        public virtual bool Contains(string name) => (InternalIndexOf(name) >= 0);