Bewerken

Share via


Binary Class

Definition

Represents an immutable block of binary data.

public ref class Binary sealed : IEquatable<System::Data::Linq::Binary ^>
[System.Runtime.Serialization.DataContract]
[System.Serializable]
public sealed class Binary : IEquatable<System.Data.Linq.Binary>
[<System.Runtime.Serialization.DataContract>]
[<System.Serializable>]
type Binary = class
    interface IEquatable<Binary>
Public NotInheritable Class Binary
Implements IEquatable(Of Binary)
Inheritance
Binary
Attributes
Implements

Constructors

Binary(Byte[])

Initializes a new instance of the Binary class.

Properties

Length

Gets the length of the binary object.

Methods

Equals(Binary)

Determines whether two binary objects are equal.

Equals(Object)

Determines whether the specified Object is equal to the current Object.

GetHashCode()

Serves as a hash function for a particular type.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToArray()

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

ToString()

Returns a String that represents the current binary object.

Operators

Equality(Binary, Binary)

Describes the equality relationship between two binary objects.

Implicit(Byte[] to Binary)

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

Inequality(Binary, Binary)

Describes the inequality relationship between two binary objects.

Applies to