Binary Binary Binary Binary Class

定義

表示二進位資料的不可變區塊。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>
type Binary = class
    interface IEquatable<Binary>
Public NotInheritable Class Binary
Implements IEquatable(Of Binary)
繼承
BinaryBinaryBinaryBinary
屬性
實作

建構函式

Binary(Byte[]) Binary(Byte[]) Binary(Byte[]) Binary(Byte[])

初始化 Binary 類別的新執行個體。Initializes a new instance of the Binary class.

屬性

Length Length Length Length

取得二進位物件的長度。Gets the length of the binary object.

方法

Equals(Binary) Equals(Binary) Equals(Binary) Equals(Binary)

判斷兩個二進位物件是否相等。Determines whether two binary objects are equal.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的 Object 是否等於目前的 ObjectDetermines whether the specified Object is equal to the current Object.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為特定型別的雜湊函式。Serves as a hash function for a particular type.

GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToArray() ToArray() ToArray() ToArray()

傳回表示目前二進位物件的位元組陣列。Returns an array of bytes that represents the current binary object.

ToString() ToString() ToString() ToString()

傳回表示目前二進位物件的 StringReturns a String that represents the current binary object.

運算子

Equality(Binary, Binary) Equality(Binary, Binary) Equality(Binary, Binary) Equality(Binary, Binary)

描述兩個二進位物件之間的相等關係。Describes the equality relationship between two binary objects.

Implicit(Byte[] to Binary) Implicit(Byte[] to Binary) Implicit(Byte[] to Binary) Implicit(Byte[] to Binary)

讓位元組陣列隱含地強制轉型為程式設計語言中的 Binary 型別。Enables arrays of bytes to be implicitly coerced to the Binary type in a programming language.

Inequality(Binary, Binary) Inequality(Binary, Binary) Inequality(Binary, Binary) Inequality(Binary, Binary)

描述兩個二進位物件之間的不相等關係。Describes the inequality relationship between two binary objects.

適用於