| 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(); | |
Property Value
A long representing the number in bytes of the length of the stream.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.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code