MailAddress.Equals Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: