Vector3D.GetHashCode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a hash code for this Vector3D structure.
public:
override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer
Returns
A hash code for this Vector3D structure.
Examples
The following example shows how to get the hashcode of a Vector3D structure.
// Gets the hashcode of a Vector3D structure
Vector3D vector1 = new Vector3D(20, 30, 40);
int vectorHashCode;
vectorHashCode = vector1.GetHashCode();
' Gets the hashcode of a Vector3D structure
Dim vector1 As New Vector3D(20, 30, 40)
Dim vectorHashCode As Integer
vectorHashCode = vector1.GetHashCode()
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.