StorageItemAccessList.CheckAccess(IStorageItem) StorageItemAccessList.CheckAccess(IStorageItem) StorageItemAccessList.CheckAccess(IStorageItem) StorageItemAccessList.CheckAccess(IStorageItem) StorageItemAccessList.CheckAccess(IStorageItem) Method

Definition

Determines whether the app has access to the specified storage item in the access list.

public : Platform::Boolean CheckAccess(IStorageItem file)
bool CheckAccess(IStorageItem file) const;
public bool CheckAccess(IStorageItem file)
Public Function CheckAccess(file As IStorageItem) As bool
var bool = storageItemAccessList.checkAccess(file);

Parameters

file
IStorageItem IStorageItem IStorageItem

The storage item to check for access.

Returns

bool bool bool

True if the app can access the storage item; otherwise false.