Vector3D.GetHashCode Método

Definición

Obtiene un código hash para esta estructura Vector3D.

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

Devoluciones

Código hash para esta estructura Vector3D.

Ejemplos

En el ejemplo siguiente se muestra cómo obtener el código hash de una Vector3D estructura.

// 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()

Se aplica a