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




value
The desired length of the current stream in bytes.
Sets the length of the Stream. This method always throws a NotSupportedException.

Syntax

Visual Basic (Declaration) 
Public Overrides Sub SetLength( _
   ByVal value As Long _
) 
Visual Basic (Usage)Copy Code
Dim instance As SegmentedStream
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 desired length of the current stream in bytes.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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