Windows Dev Center

IStorageFolder.CreateFileAsync methods

Creates a new file in the current folder.

Overload list

MethodDescription
CreateFileAsync(String) Creates a new file in the current folder.
CreateFileAsync(String, CreationCollisionOption) Creates a new file in the current folder, and specifies what to do if a file with the same name already exists in the current folder.

Remarks

If you simply want to create a file in your app, see the CreateFileAsync methods of the StorageFolder class.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.winmd

See also

IStorageFolder
StorageFolder.CreateFileAsync

 

 

Show:
© 2015 Microsoft