Id = InteropHelper.GetString(handle, Interop.Folder.GetFolderId);
Path = InteropHelper.GetString(handle, Interop.Folder.GetPath);
Name = InteropHelper.GetString(handle, Interop.Folder.GetName);
-
- StorageType = InteropHelper.GetValue<StorageType>(handle, Interop.Folder.GetStorageType);
- StorageId = InteropHelper.GetString(handle, Interop.Folder.GetStorageId);
}
internal static Folder FromHandle(IntPtr handle) => new Folder(handle);
public string Name { get; }
/// <summary>
- /// Gets the <see cref="StorageType"/> of the storage that the folder exists.
- /// </summary>
- /// <value>The <see cref="StorageType"/> of the storage that the folder exists.</value>
- /// <since_tizen> 4 </since_tizen>
- public StorageType StorageType { get; }
-
- /// <summary>
- /// Gets the storage ID of the storage that the folder exists.
- /// </summary>
- /// <value>The storage ID of the storage that the folder exists.</value>
- /// <since_tizen> 4 </since_tizen>
- public string StorageId { get; }
-
- /// <summary>
/// Returns a string representation of the folder.
/// </summary>
/// <returns>A string representation of the current folder.</returns>
/// <since_tizen> 4 </since_tizen>
- public override string ToString() =>
- $"Id={Id}, Name={Name}, Path={Path}, StorageType={StorageType}, StorageId={StorageType}";
+ public override string ToString() => $"Id={Id}, Name={Name}, Path={Path}";
}
}