FileOpenPickerUI.AddFile(String, IStorageFile) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified file to the list of files that the user has chosen.
public:
virtual AddFileResult AddFile(Platform::String ^ id, IStorageFile ^ file) = AddFile;
AddFileResult AddFile(winrt::hstring const& id, IStorageFile const& file);
public AddFileResult AddFile(string id, IStorageFile file);
function addFile(id, file)
Public Function AddFile (id As String, file As IStorageFile) As AddFileResult
Parameters
- id
-
String
Platform::String
winrt::hstring
A unique identifier of the file to add.
- file
- IStorageFile
The file to add to the list of files that the user has chosen.
Returns
The enumeration value that indicates the result of this addFile method.
Applies to
See also
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro