StorageItemTypes enumeration

Applies to Windows and Windows Phone

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

[Flags()]
[Version(0x06020000)]

Members

The StorageItemTypes enumeration has these members.

MemberValueDescription
None | none0

A generic storage item that represents either a file or a folder.

File | file1

A file that is represented as a StorageFile instance.

Folder | folder2

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft