Method GetHashCode GetHashCode() Serves as the default hash function. Declaration public override int GetHashCode() Returns Type Description int A hash code for the current MetricId. Overrides ValueType.GetHashCode()