Share via


Binary.Equality Operator

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Describes the equality relationship between two binary objects.

Namespace:  System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    binary1 As Binary, _
    binary2 As Binary _
) As Boolean
public static bool operator ==(
    Binary binary1,
    Binary binary2
)

Parameters

Return Value

Type: System.Boolean
true if the binary objects are equal; otherwise false.

Remarks

Returns true if both are nulla null reference (Nothing in Visual Basic) but returns false if only one is nulla null reference (Nothing in Visual Basic).

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.