This documentation is archived and is not being maintained.

Binary.Equality Operator

Describes the equality relationship between two binary objects.

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

public static bool operator ==(
	Binary binary1,
	Binary binary2
)

Parameters

binary1
Type: System.Data.Linq.Binary

First binary object.

binary2
Type: System.Data.Linq.Binary

Second binary object.

Return Value

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

Returns true if both are null but returns false if only one is null.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: