Dart.PowerTCP.SslSockets Namespace > PipeStream Class : Position Property (PipeStream) |
Gets or sets the position within the current stream
[Visual Basic]
Overrides Public Property Position As Long
[C#]
public override long Position {get; set;}
[C++]
public: __property long get_Position()override ;
public: __property void set_Position(
long value
)override ;
[C++/CLI]
public:
property long long Position override {
long long get();
void set (long long value);
}
Returns PipeStream.CoreStream.Position if not writing, and the amount written to the stream, if writing. Attempting to set this property returns an InvalidOperationException unless it is set to 0, in which case the position of the PipeStream.CoreStream.Position will be set to 0, and this object is ready for reading.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
PipeStream Class | PipeStream Members
Send comments on this topic.
Documentation version 1.1.2.0.
© 2008 Dart Communications. All rights reserved.