DLStringComparer.Equals Method (String, String)

This member is reserved for internal use and is not intended to be used directly from your code.Indicates whether the two distribution list strings are equal.

Namespace:  Microsoft.Office.Server.WebControls
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Overrides Function Equals ( _
    x As String, _
    y As String _
) As Boolean
'Usage
Dim instance As DLStringComparer
Dim x As String
Dim y As String
Dim returnValue As Boolean

returnValue = instance.Equals(x, y)
public override bool Equals(
    string x,
    string y
)

Parameters

  • x
    Type: System.String

    A distribution list string to compare to y.

  • y
    Type: System.String

    A distribution list string to compare to x.

Return Value

Type: System.Boolean
true if x and y are equal; otherwise, false.

Implements

IEqualityComparer<T>.Equals(T, T)

Remarks

This override compares the two distribution list hash codes and returns true if they are equal, and false if not.

See Also

Reference

DLStringComparer Class

DLStringComparer Members

Equals Overload

Microsoft.Office.Server.WebControls Namespace