System.ComponentModel.DataObjectAttribute.Equals C# (CSharp) Метод

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool
        public override bool Equals(object obj) {
            if (obj == this) {
                return true;
            }

            DataObjectAttribute other = obj as DataObjectAttribute;
            return (other != null) && (other.IsDataObject == IsDataObject);
        }

Usage Example

 public override bool IsDefaultAttribute()
 {
     return(Default.Equals(this));
 }