Udostępnij za pośrednictwem


FileOpenPickerUI.CanAddFile(IStorageFile) Method

Definition

Indicates whether the specified file can be added to the list of files the user has chosen.

public:
 virtual bool CanAddFile(IStorageFile ^ file) = CanAddFile;
bool CanAddFile(IStorageFile const& file);
public bool CanAddFile(IStorageFile file);
function canAddFile(file)
Public Function CanAddFile (file As IStorageFile) As Boolean

Parameters

file
IStorageFile

The file to test.

Returns

Boolean

bool

True if the file can be added to the file picker UI; otherwise false.

Applies to

See also