StorageFile.IsOfType Method

Determines whether the current StorageFile matches the specified StorageItemTypes value.

Syntax

public:
bool IsOfType(
         StorageItemTypes type
)  

Parameters

type
Type: StorageItemTypes 

The value to match against.

Return value

Type: bool 

 True if the StorageFile matches the specified value; otherwise false.

Requirements

Namespace: Windows.Storage

Metadata: windows.winmd

See also

Reference

StorageFile Class

StorageFile Members

Windows.Storage Namespace