Vector3D.GetHashCode Vector3D.GetHashCode Vector3D.GetHashCode Vector3D.GetHashCode Method

정의

Vector3D 구조체의 해시 코드를 가져옵니다.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

반환

Vector3D 구조체의 해시 코드입니다.A hash code for this Vector3D structure.

예제

다음 예제에는의 해시 코드를 가져오는 방법을 보여 줍니다는 Vector3D 구조입니다.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()

적용 대상