OracleBinary OracleBinary OracleBinary OracleBinary Struct

定義

表示要存放在資料庫或從資料庫中擷取之二進位資料的可變長度資料流。Represents a variable-length stream of binary data to be stored in or retrieved from a database.

public value class OracleBinary : IComparable, System::Data::SqlTypes::INullable
public struct OracleBinary : IComparable, System.Data.SqlTypes.INullable
type OracleBinary = struct
    interface INullable
Public Structure OracleBinary
Implements IComparable, INullable
繼承
OracleBinaryOracleBinaryOracleBinaryOracleBinary
實作

備註

若要取得OracleBinary物件, 請GetOracleBinary呼叫方法。To obtain an OracleBinary object, call the GetOracleBinary method.

建構函式

OracleBinary(Byte[]) OracleBinary(Byte[]) OracleBinary(Byte[]) OracleBinary(Byte[])

Value 屬性設定為提供之位元組陣列的內容,來初始化 OracleBinary 結構的新執行個體。Initializes a new instance of the OracleBinary structure, setting the Value property to the contents of the supplied byte array.

欄位

Null Null Null Null

表示可以指派至 Value 結構之 OracleBinary 屬性的 Null 值。Represents a null value that can be assigned to the Value property of an OracleBinary structure.

屬性

IsNull IsNull IsNull IsNull

取得值,指出 Value 結構的 OracleBinary 屬性是否為 Null。Gets a value indicating whether the Value property of the OracleBinary structure is null.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

從位於整數參數 index 所指示之位置的 Value 屬性中取得單一位元組。Gets the single byte from the Value property located at the position indicated by the integer parameter, index. 如果 index 指示超過位元組陣列末端的位置,則會引發例外狀況。If index indicates a position beyond the end of the byte array, an exception is raised.

Length Length Length Length

取得 Value 屬性的長度,以位元組為單位。Gets the length in bytes of the Value property. 這個屬性是唯讀的。This property is read-only.

Value Value Value Value

取得 OracleBinary 結構的值。Gets the value of the OracleBinary structure. 這個屬性是唯讀的。This property is read-only.

方法

CompareTo(Object) CompareTo(Object) CompareTo(Object) CompareTo(Object)

將這個 OracleBinary 物件與提供的物件相比較,並傳回它們相對值的指示。Compares this OracleBinary object to the supplied object and returns an indication of their relative values.

Concat(OracleBinary, OracleBinary) Concat(OracleBinary, OracleBinary) Concat(OracleBinary, OracleBinary) Concat(OracleBinary, OracleBinary)

將兩個 OracleBinary 結構串連以建立新的 OracleBinary 結構。Concatenates two OracleBinary structures to create a new OracleBinary structure.

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

將提供的物件參數與 Value 物件的 OracleBinary 屬性相比較。Compares the supplied object parameter to the Value property of the OracleBinary object.

Equals(OracleBinary, OracleBinary) Equals(OracleBinary, OracleBinary) Equals(OracleBinary, OracleBinary) Equals(OracleBinary, OracleBinary)

比較兩個 OracleBinary 結構,判斷它們是否相等。Compares two OracleBinary structures to determine if they are equal.

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

傳回這個 OracleBinary 結構的雜湊程式碼。Returns the hash code for this OracleBinary structure.

GreaterThan(OracleBinary, OracleBinary) GreaterThan(OracleBinary, OracleBinary) GreaterThan(OracleBinary, OracleBinary) GreaterThan(OracleBinary, OracleBinary)

比較兩個 OracleBinary 結構,判斷第一個結構是否大於第二個。Compares two OracleBinary structures to determine if the first is greater than the second.

GreaterThanOrEqual(OracleBinary, OracleBinary) GreaterThanOrEqual(OracleBinary, OracleBinary) GreaterThanOrEqual(OracleBinary, OracleBinary) GreaterThanOrEqual(OracleBinary, OracleBinary)

比較兩個 OracleBinary 結構,判斷第一個結構是否大於或等於第二個。Compares two OracleBinary structures to determine if the first is greater than or equal to the second.

LessThan(OracleBinary, OracleBinary) LessThan(OracleBinary, OracleBinary) LessThan(OracleBinary, OracleBinary) LessThan(OracleBinary, OracleBinary)

比較兩個 OracleBinary 結構,判斷第一個結構是否小於第二個。Compares two OracleBinary structures to determine if the first is less than the second.

LessThanOrEqual(OracleBinary, OracleBinary) LessThanOrEqual(OracleBinary, OracleBinary) LessThanOrEqual(OracleBinary, OracleBinary) LessThanOrEqual(OracleBinary, OracleBinary)

比較兩個 OracleBinary 結構,判斷第一個結構是否小於或等於第二個。Compares two OracleBinary structures to determine if the first is less than or equal to the second.

NotEquals(OracleBinary, OracleBinary) NotEquals(OracleBinary, OracleBinary) NotEquals(OracleBinary, OracleBinary) NotEquals(OracleBinary, OracleBinary)

比較兩個 OracleBinary 結構,判斷它們是否不相等。Compares two OracleBinary structures to determine if they are not equal.

運算子

Addition(OracleBinary, OracleBinary) Addition(OracleBinary, OracleBinary) Addition(OracleBinary, OracleBinary) Addition(OracleBinary, OracleBinary)

將兩個 OracleBinary 參數串連以建立新的 OracleBinary 結構。Concatenates the two OracleBinary parameters to create a new OracleBinary structure.

Equality(OracleBinary, OracleBinary) Equality(OracleBinary, OracleBinary) Equality(OracleBinary, OracleBinary) Equality(OracleBinary, OracleBinary)

比較兩個 OracleBinary 結構,判斷它們是否相等。Compares two OracleBinary structures to determine if they are equal.

Explicit(OracleBinary to Byte[]) Explicit(OracleBinary to Byte[]) Explicit(OracleBinary to Byte[]) Explicit(OracleBinary to Byte[])

取得 Value 參數的 OracleBinary 屬性內容做為位元組的陣列。Gets the contents of the Value property of the OracleBinary parameter as an array of bytes.

GreaterThan(OracleBinary, OracleBinary) GreaterThan(OracleBinary, OracleBinary) GreaterThan(OracleBinary, OracleBinary) GreaterThan(OracleBinary, OracleBinary)

比較兩個 OracleBinary 結構,判斷第一個結構是否大於第二個。Compares two OracleBinary structures to determine if the first is greater than the second.

GreaterThanOrEqual(OracleBinary, OracleBinary) GreaterThanOrEqual(OracleBinary, OracleBinary) GreaterThanOrEqual(OracleBinary, OracleBinary) GreaterThanOrEqual(OracleBinary, OracleBinary)

比較兩個 OracleBinary 結構,判斷第一個結構是否大於或等於第二個。Compares two OracleBinary structures to determine if the first is greater than or equal to the second.

Implicit(Byte[] to OracleBinary) Implicit(Byte[] to OracleBinary) Implicit(Byte[] to OracleBinary) Implicit(Byte[] to OracleBinary)

將位元組的陣列轉換成 OracleBinary 結構。Converts an array of bytes to an OracleBinary structure.

Inequality(OracleBinary, OracleBinary) Inequality(OracleBinary, OracleBinary) Inequality(OracleBinary, OracleBinary) Inequality(OracleBinary, OracleBinary)

比較兩個 OracleBinary 結構,判斷它們是否相等。Compares two OracleBinary structures to determine if they are equal.

LessThan(OracleBinary, OracleBinary) LessThan(OracleBinary, OracleBinary) LessThan(OracleBinary, OracleBinary) LessThan(OracleBinary, OracleBinary)

比較兩個 OracleBinary 結構,判斷第一個結構是否小於第二個。Compares two OracleBinary structures to determine if the first is less than the second.

LessThanOrEqual(OracleBinary, OracleBinary) LessThanOrEqual(OracleBinary, OracleBinary) LessThanOrEqual(OracleBinary, OracleBinary) LessThanOrEqual(OracleBinary, OracleBinary)

比較兩個 OracleBinary 結構,判斷第一個結構是否小於或等於第二個。Compares two OracleBinary structures to determine if the first is less than or equal to the second.

適用於