BackupEntry
Ecng.Backup
Storage element.
构造函数
BackupEntry
public BackupEntry()
backupEntry = BackupEntry()
Initializes a new instance of the BackupEntry.
属性
LastModified
public DateTime LastModified { get; set; }
value = backupEntry.LastModified
backupEntry.LastModified = value
Last time modified.
Name
public string Name { get; set; }
value = backupEntry.Name
backupEntry.Name = value
Element name.
Parent
public BackupEntry Parent { get; set; }
value = backupEntry.Parent
backupEntry.Parent = value
Parent element.
Size
public long Size { get; set; }
value = backupEntry.Size
backupEntry.Size = value
Size in bytes.
方法
GetFullPath
public string GetFullPath()
result = backupEntry.GetFullPath()
Gets the full path of the element.
返回值: Full path.
ToString
public override string ToString()
result = backupEntry.ToString()
Returns a string representation of the tuple, with values separated by commas.
返回值: A string representing the tuple's values.