Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Equality Operator
Collapse the table of content
Expand the table of content

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


Type: System.Data.Linq.Binary
First binary object.
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.

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

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

Community Additions

© 2015 Microsoft