StorageFolder.CreateFileAsync | createFileAsync methods

4 out of 7 rated this helpful - Rate this topic
Creates a new file in the current folder.

Overload list

MethodDescription
CreateFileAsync(String) Creates a new file in the folder or file group.
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 try to create a file in a virtual folder like a library or a file group, these methods may fail.

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

StorageFolder

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.