PowerTCP Zip Compression for .NET
Position Property (BaseStream)




Gets or sets the current position of this stream.
Syntax
Public Overrides Property Position As Long
Dim instance As BaseStream
Dim value As Long
 
instance.Position = value
 
value = instance.Position
public override long Position {get; set;}
public: __property long get_Position() override;
public: __property void set_Position( 
   long value
) override;
public:
property int64 Position {
   int64 get() override;
   void set (    int64 value) override;
}

Property Value

The current position of this stream.
Exceptions
ExceptionDescription
System.NotSupportedExceptionThe Stream does not support setting the Position to any value except 0.
Remarks

If the Stream is a CodingStream or a MessageStream or a Stream derived from CodingStream or MessageStream, this property can only be set to 0. Setting the property to any other value results in a NotSupportedException.

See Also

Reference

BaseStream Class
BaseStream Members


PowerTCP Zip for .NET Documentation Version 2.1.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic