DataBinding.GetHashCode Method

Definition

Retrieves the hash code for an instance of the DataBinding object.

public override int GetHashCode();

Returns

A 32-bit signed integer hash code.

Remarks

DataBinding objects are placed in a DataBindingCollection object, accessible only at design time. The collection is a hash table that represents the bindings on a control. There can only be one binding per property, so the hash code computation matches the DataBinding.Equals implementation and only takes the property name into account.

Applies to

See also