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




The position within the stream.

Syntax

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

Property Value

A long representing the current position within the stream.

Remarks

This value represents the position within 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.