This documentation is archived and is not being maintained.

OracleBinary.Length Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Gets the length in bytes of the Value property. This property is read-only.

[Visual Basic]
Public ReadOnly Property Length As Integer
public int Length {get;}
public: __property int get_Length();
public function get Length() : int;

Property Value

The length of the binary data in the Value property.


To avoid raising an OracleNullValueException, always check the IsNull property before reading the Length property.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

OracleBinary Structure | OracleBinary Members | System.Data.OracleClient Namespace