System.Net.Mail.MailAddress.GetHashCode Method

Returns a hash value for a mail address.

Syntax

public override int GetHashCode ()

Returns

An integer hash value.

Remarks

The MailAddress.GetHashCode method returns a hash code of the mail address. This value can be used as a key in hash tables.

Requirements

Namespace: System.Net.Mail
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0