Binary Class

Binary Class

 

Represents an immutable block of binary data.

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

System.Object
  System.Data.Linq.Binary

[SerializableAttribute]
[DataContractAttribute]
public sealed class Binary : IEquatable<Binary>

NameDescription
System_CAPS_pubmethodBinary(Byte[])

Initializes a new instance of the Binary class.

NameDescription
System_CAPS_pubpropertyLength

Gets the length of the binary object.

NameDescription
System_CAPS_pubmethodEquals(Binary)

Determines whether two binary objects are equal.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified Object is equal to the current Object.(Overrides Object.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Serves as a hash function for a particular type.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToArray()

Returns an array of bytes that represents the current binary object.

System_CAPS_pubmethodToString()

Returns a String that represents the current binary object.(Overrides Object.ToString().)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(Binary, Binary)

Describes the equality relationship between two binary objects.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(Byte[] to Binary)

Enables arrays of bytes to be implicitly coerced to the Binary type in a programming language.

System_CAPS_puboperatorSystem_CAPS_staticInequality(Binary, Binary)

Describes the inequality relationship between two binary objects.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft