DirectoryGetProperties Method (String)
Properties include aggregated info from FileAttributes of each encountered file system object, plus additional ones: Total, File, Size and Error.
Total: is the total number of enumerated objects.
Size: is the total size of enumerated objects.
Error: is the total number of errors encountered during enumeration.
public static Dictionary<string, long> GetProperties( string path )
Public Shared Function GetProperties ( path As String ) As Dictionary(Of String, Long)
public: static Dictionary<String^, long long>^ GetProperties( String^ path )
static member GetProperties : path : string -> Dictionary<string, int64>