PowerTCP FTP 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 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 FTP for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic