Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Position Property

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

Exceptions

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.

Remarks

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.

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

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

Show:
© 2015 Microsoft