Class Binary
- Namespace
- System.Data.Linq
- Assembly
- linq2db.dll
[DataContract]
[Serializable]
public sealed class Binary : IEquatable<Binary>
- Inheritance
-
objectBinary
- Implements
- Extension Methods
Constructors
Binary(byte[]?)
public Binary(byte[]? value)
Parameters
valuebyte[]
Properties
Length
public int Length { get; }
Property Value
Methods
Equals(Binary?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Binary? other)
Parameters
otherBinaryAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
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
Returns
implicit operator Binary(byte[]?)
public static implicit operator Binary(byte[]? value)
Parameters
valuebyte[]
Returns
operator !=(Binary?, Binary?)
public static bool operator !=(Binary? binary1, Binary? binary2)