Interface IStorageItem
Manipulates storage items (files and folders) and their contents, and provides information about them.
public interface IStorageItem
- Extension Methods
Properties
Attributes
Gets the attributes of a file.
FileAttributes Attributes { get; }
Property Value
- FileAttributes
The file attributes.
DateCreated
Gets the date and time that the current folder was created.
DateTime DateCreated { get; }
Property Value
Remarks
This is the nanoFrameowrk equivalent of UWP DateCreated of type DateTimeOffset.
Name
Gets the name of the item including the file name extension if there is one.
string Name { get; }
Property Value
Path
Gets the full file-system path of the item, if the item has a path.
string Path { get; }
Property Value
Methods
Rename(string)
Renames the current item.
void Rename(string desiredName)
Parameters
desiredName
stringThe desired, new name of the item.