System.Windows.Size.GetHashCode C# (CSharp) Méthode

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int
        public override int GetHashCode()
        {
            if (this.IsEmpty)
            {
                return 0;
            }
            return (this.Width.GetHashCode() ^ this.Height.GetHashCode());
        }

Usage Example

Exemple #1
0
 public override int GetHashCode()
 {
     return(Location.GetHashCode() ^ Size.GetHashCode());
 }