PowerTCP SSH and SFTP for .NET
SetLength Method (BaseStream)




The value at which to set the length.
Sets the length of the current Stream to the specified value. Always throws a NotSupportedException.
Syntax
'Declaration
 
Public Overrides Sub SetLength( _
   ByVal value As Long _
) 
'Usage
 
Dim instance As BaseStream
Dim value As Long
 
instance.SetLength(value)
public override void SetLength( 
   long value
)
public: void SetLength( 
   long value
) override 
public:
void SetLength( 
   int64 value
) override 

Parameters

value
The value at which to set the length.
Exceptions
ExceptionDescription
System.NotSupportedExceptionAlways thrown by this method.
Remarks
This method is not supported, and always throws a NotSupportedException.
See Also

Reference

BaseStream Class
BaseStream Members


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic