Vector3D.GetHashCode Método

Definição

Obtém um código hash para esta Vector3D estrutura.

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

Devoluções

Um código hash para esta Vector3D estrutura.

Exemplos

O exemplo seguinte mostra como obter o código hash de uma Vector3D estrutura.

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

Aplica-se a