This documentation is archived and is not being maintained.

OracleLob.Position Property

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

Gets the current read position in the OracleLob stream.

[Visual Basic]
Overrides Public Property Position As Long
[C#]
public override long Position {get; set;}
[C++]
public: __property __int64 get_Position();
public: __property void set_Position(__int64);
[JScript]
public override function get Position() : long;
public override function set Position(long);

Property Value

The current position within the OracleLob stream.

Exceptions

Exception Type Condition
InvalidOperationException The connection is closed.
ObjectDisposedException The object was closed or disposed.

Remarks

The stream must support seeking to get or set the position. Use the CanSeek property to determine whether the stream supports seeking.

Seeking to any location beyond the length of the stream is supported. Seeking to an odd position for CLOB and NCLOB data types is also supported. For more information, see the Remarks section of the Read property.

The Position property does not keep track of the number of bytes from the stream that have been consumed, skipped, or both.

Requirements

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

OracleLob Class | OracleLob Members | System.Data.OracleClient Namespace

Show: