Export (0) Print
Expand All

OracleLob.Value Property

Gets the common language runtime stream value equivalent of the underlying value.

Namespace: System.Data.OracleClient
Assembly: System.Data.OracleClient (in system.data.oracleclient.dll)

public:
property Object^ Value {
	Object^ get ();
}
/** @property */
public Object get_Value ()

public function get Value () : Object

Not applicable.

Property Value

For Blob, an array of type Byte[]. For Clob and NClob, a String. For null data, DBNull.

Exception typeCondition

ObjectDisposedException

The object was closed or disposed.

OracleException

An Oracle error has occurred.

For Blob data types, Value returns the entire underlying data as a contiguous array of type Byte[]. For Clob and NClob data types, Value returns all the data as a String data type. For null data, Value returns DBNull. By comparing the returned values, you can distinguish among empty data, null data, and data.

NoteNote:

A benefit of using LOB data types is the capability to retrieve large amounts of data in chunks at the client. However, when you use Value, you obtain all the data for the LOB column as one contiguous chunk, which can significantly increase application overhead.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1

Community Additions

ADD
Show:
© 2015 Microsoft