共用方式為


MonikerKey.GetHashCode Method

Definition

Generates HashCode based on all 3 equality comparison's performed by CompareTo() For a MonikerKey that will return true for CompareTo, the GetHashCode will match value returned by this.GetHashCode Omitting this violates rule: OverrideGetHashCodeOnOverridingEquals.

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

Returns

Applies to