Table of Contents

Class Binary

Namespace
System.Data.Linq
Assembly
linq2db.dll
[DataContract]
[Serializable]
public sealed class Binary : IEquatable<Binary>
Inheritance
object
Binary
Implements
Extension Methods

Constructors

Binary(byte[]?)

public Binary(byte[]? value)

Parameters

value byte[]

Properties

Length

public int Length { get; }

Property Value

int

Methods

Equals(Binary?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Binary? other)

Parameters

other Binary

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

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

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToArray()

public byte[] ToArray()

Returns

byte[]

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Operators

operator ==(Binary?, Binary?)

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

Parameters

binary1 Binary
binary2 Binary

Returns

bool

implicit operator Binary(byte[]?)

public static implicit operator Binary(byte[]? value)

Parameters

value byte[]

Returns

Binary

operator !=(Binary?, Binary?)

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

Parameters

binary1 Binary
binary2 Binary

Returns

bool