Share via


DisplayInfo.GetHashCode Method

Definition

Gets the hash code for this display info instance.

public:
 override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

Returns

The computed hash code for this device idiom or 0 when the device platform is null.

Remarks

The hash code is computed from Height, Width, Density, Orientation and Rotation.

Applies to