Point4D.GetHashCode Method ()

 

Returns a hash code for this Point4D structure.

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public override int GetHashCode()

Return Value

Type: System.Int32

Returns a hash code for this Point4D structure.

The following example shows how to get the hashcode of a Point4D structure.

// Gets the hashcode of a Point4D structure

Point4D point1 = new Point4D(10, 5, 1, 4);
int pointHashCode;

pointHashCode = point1.GetHashCode();

// Displaying Results
syntaxString = "pointHashCode = point1.GetHashCode();";
resultType = "int";
operationString = "Getting the hashcode of Point4D";
ShowResults(pointHashCode.ToString(), syntaxString, resultType, operationString);

.NET Framework
Available since 3.0
Return to top
Show: