System.Data.DataRelationPropertyDescriptor.Equals C# (CSharp) Method

Equals() public method

public Equals ( object other ) : bool
other object
return bool
        public override bool Equals(object other)
        {
            if (other is DataRelationPropertyDescriptor)
            {
                DataRelationPropertyDescriptor descriptor = (DataRelationPropertyDescriptor)other;
                return (descriptor.Relation == Relation);
            }
            return false;
        }