Expand Minimize

StorageFolder.IsOfType | isOfType method

Applies to Windows and Windows Phone

Indicates whether the current StorageFolder matches the specified StorageItemTypes value.

Syntax


var boolean = storageFolder.isOfType(type);

Parameters

type

Type: StorageItemTypes

The enum value that determines the object type to match against.

Return value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

True if the StorageFolder matches the specified StorageItemTypes value; otherwise false.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

See also

StorageFolder

 

 

Show:
© 2014 Microsoft