System.ComponentModel.PropertyTabAttribute.Equals C# (CSharp) Method

Equals() public method

public Equals ( PropertyTabAttribute other ) : bool
other PropertyTabAttribute
return bool
        public bool Equals(PropertyTabAttribute other)
        {
            if (other == (object)this)
            {
                return true;
            }
            if (other.TabClasses.Length != TabClasses.Length ||
                other.TabScopes.Length != TabScopes.Length)
            {
                return false;
            }

            for (int i = 0; i < TabClasses.Length; i++)
            {
                if (TabClasses[i] != other.TabClasses[i] ||
                    TabScopes[i] != other.TabScopes[i])
                {
                    return false;
                }
            }
            return true;
        }

Same methods

PropertyTabAttribute::Equals ( object other ) : bool