Describes the kind of item that is represented by an instance of a class that implements IStorageItem (like a StorageFile or StorageFolder object).
Syntax
var value = Windows.Storage.StorageItemTypes.none;
Attributes
- FlagsAttribute()
- VersionAttribute(NTDDI_WIN8)
Members
The StorageItemTypes enumeration has these members.
| Member | Value | Description |
|---|---|---|
| None | none | 0 |
A generic storage item that represents either a file or a folder. |
| File | file | 1 |
A file that is represented as a StorageFile instance. |
| Folder | folder | 2 |
A folder that is represented as a StorageFolder instance. |
Remarks
A value from this enumeration is returned by the StorageFile.IsOfType, StorageFolder.IsOfType, and IStorageItem.IsOfType methods.
Windows Phone 8
This API is not implemented and will throw an exception if called.
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