次の方法で共有


OracleBinary.Length プロパティ

メモ : この名前空間、クラス、およびメンバは、.NET Framework Version 1.1 だけでサポートされています。

Value プロパティの長さをバイト数で取得します。このプロパティは読み取り専用です。

Public ReadOnly Property Length As Integer
[C#]
public int Length {get;}
[C++]
public: __property int get_Length();
[JScript]
public function get Length() : int;

プロパティ値

Value プロパティのバイナリ データの長さ。

解説

OracleNullValueException が発生しないようにするには、 Length プロパティを読み取る前に、必ず IsNull プロパティを確認します。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

OracleBinary 構造体 | OracleBinary メンバ | System.Data.OracleClient 名前空間