LocalizedString.Equality Operator

The Equality operator compares two LocalizedString objects.

Namespace:  Microsoft.Exchange.Data.Common
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    s1 As LocalizedString, _
    s2 As LocalizedString _
) As Boolean
'Usage
Dim s1 As LocalizedString
Dim s2 As LocalizedString
Dim returnValue As Boolean

returnValue = (s1 = s2)
public static bool operator ==(
    LocalizedString s1,
    LocalizedString s2
)

Return Value

Type: System.Boolean
The Equality operator returns true if s1 and s2 are equal. Otherwise, it returns false.