PowerTCP Mail for .NET
SetLength Method
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > EnhancedStream Class : SetLength Method




value
The value at which to set the length.
Sets the length of the current Stream to the specified value. Always throws a NotSupportedException.

Syntax

Visual Basic (Declaration) 
Public Overrides Sub SetLength( _
   ByVal value As Long _
) 
Visual Basic (Usage)Copy Code
Dim instance As EnhancedStream
Dim value As Long
 
instance.SetLength(value)
C# 
public override void SetLength( 
   long value
)
Managed Extensions for C++ 
public: void SetLength( 
   long value
) override 
C++/CLI 
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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.