StorageFolder.IsOfType Method

Indicates whether the current StorageFolder matches the specified StorageItemTypes value.

Syntax

public:
bool IsOfType(
         StorageItemTypes type
)  

Parameters

type
Type: StorageItemTypes 

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

Return value

Type: bool 

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

Requirements

Namespace: Windows.Storage

Metadata: windows.winmd

See also

Reference

StorageFolder Class

StorageFolder Members

Windows.Storage Namespace