Dela via


DetectedChangesEventArgs.TotalFileSize Property

Gets the cumulative size of all files that are found during change detection.

Namespace:  Microsoft.Synchronization.Files
Assembly:  Microsoft.Synchronization.Files (in Microsoft.Synchronization.Files.dll)

Syntax

'Declaration
Public ReadOnly Property TotalFileSize As Long
    Get
'Usage
Dim instance As DetectedChangesEventArgs
Dim value As Long

value = instance.TotalFileSize
public long TotalFileSize { get; }
public:
property long long TotalFileSize {
    long long get ();
}
member TotalFileSize : int64
function get TotalFileSize () : long

Property Value

Type: System.Int64
The cumulative size of all files that are found during change detection.

Remarks

If the total file size cannot be calculated, the value will be -1.

Files that are excluded by the scope filter or skipped are not counted.

See Also

Reference

DetectedChangesEventArgs Class

Microsoft.Synchronization.Files Namespace