StorageFile.IsOfType(StorageItemTypes) StorageFile.IsOfType(StorageItemTypes) StorageFile.IsOfType(StorageItemTypes) StorageFile.IsOfType(StorageItemTypes) StorageFile.IsOfType(StorageItemTypes) Method

Definition

Determines whether the current StorageFile matches the specified StorageItemTypes value.

public : Platform::Boolean IsOfType(StorageItemTypes type)
bool IsOfType(StorageItemTypes type) const;
public bool IsOfType(StorageItemTypes type)
Public Function IsOfType(type As StorageItemTypes) As bool
var bool = storageFile.isOfType(type);

Parameters

type
StorageItemTypes StorageItemTypes StorageItemTypes

The value to match against.

Returns

bool bool bool

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