Manipulates storage items (files and folders) and their contents, and provides information about them.
Syntax
Attributes
- GuidAttribute("4207a996-ca2f-42f7-bde8-8b10457a7f30")
- VersionAttribute(NTDDI_WIN8)
Members
The IStorageItem interface has these types of members:
Methods
The IStorageItem interface has these methods. It also inherits methods from the Object class.
| Method | Description |
|---|---|
| DeleteAsync() | Deletes the current item. |
| DeleteAsync(StorageDeleteOption) | Deletes the current item, optionally deleting it permanently. |
| GetBasicPropertiesAsync | Gets the basic properties of the current item (like a file or folder). |
| IsOfType | Determines whether the current IStorageItem matches the specified StorageItemTypes value. |
| RenameAsync(String) | Renames the current item. |
| RenameAsync(String, NameCollisionOption) | Renames the current item. This method also specifies what to do if an existing item in the current item's location has the same name. |
Properties
The IStorageItem interface has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only | Gets the attributes of a storage item. | |
| Read-only | Gets the date and time when the current item was created. | |
| Read-only | Gets the name of the item including the file name extension if there is one. | |
| Read-only | Gets the full file-system path of the item, if the item has a path. |
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
Build date: 2/25/2013