Binary.Equality Operator (Binary, Binary)

 

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.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show: