This documentation is archived and is not being maintained.

OracleBFile.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 OracleBFile stream.

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

Property Value

The current position within the OracleBFile stream.


Exception Type Condition
ArgumentOutOfRangeException Attempted to set a position with a negative value or greater than the length of the stream.
ObjectDisposedException Methods were called after the stream was closed or disposed.


Seeking to any location beyond the length of the stream is not supported.

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


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

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