PowerTCP Mail for .NET
Length Property
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > PopProgressEventArgs Class : Length Property




The length of the stream.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Length As Long
Visual Basic (Usage)Copy Code
Dim instance As PopProgressEventArgs
Dim value As Long
 
value = instance.Length
C# 
public long Length {get;}
Managed Extensions for C++ 
public: __property long get_Length();
C++/CLI 
public:
property int64 Length {
   int64 get();
}

Property Value

A long representing the number in bytes of the length of the stream.

Remarks

This value represents the number in bytes of the length of the Stream of the message being retrieved at the time the Object.Progress event was raised. This is useful for displaying progress as Object.Position divided by Object.Length gives the percentage complete.

Object.Position will equal Object.Length when all data has been transferred.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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