편집

다음을 통해 공유


Vector.GetHashCode Method

Definition

Returns the hash code for this vector.

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

Returns

The hash code for this instance.

Examples

The following example shows how to get the hash code of a Vector.

private int getHashCodeExample()
{
    Vector vector1 = new Vector(20, 30);
    int returnHashCode = vector1.GetHashCode();

    return returnHashCode;
}

Applies to