OracleBinary.Length 屬性

定義

取得 Value 屬性的長度,以位元組為單位。 這個屬性是唯讀的。

public:
 property int Length { int get(); };
public int Length { get; }
member this.Length : int
Public ReadOnly Property Length As Integer

屬性值

Value 屬性中二進位資料的長度。

備註

若要避免引發 OracleNullValueException,請一律先檢查 屬性, IsNull 再讀取 Length 屬性。

適用於