MailAddress.Equals Method (Object)

 

Compares two mail addresses.

Namespace:   System.Net.Mail
Assembly:  System (in System.dll)

Public Overrides Function Equals (
	value As Object
) As Boolean

Parameters

value
Type: System.Object

A MailAddress instance to compare to the current instance.

Return Value

Type: System.Boolean

true if the two mail addresses are equal; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show: