Udostępnij za pośrednictwem


IStorageItemAccessList.CheckAccess(IStorageItem) Method

Definition

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

public:
 bool CheckAccess(IStorageItem ^ file);
bool CheckAccess(IStorageItem const& file);
public bool CheckAccess(IStorageItem file);
function checkAccess(file)
Public Function CheckAccess (file As IStorageItem) As Boolean

Parameters

file
IStorageItem

The storage item to check for access.

Returns

Boolean

bool

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

Applies to