EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

StorageFolder.CreateFileAsync | createFileAsync methods

Applies to Windows and Windows Phone

Creates a new file in the current folder.

Overload list

MethodDescription
CreateFileAsync(String) Creates a new file with the specified name in the current folder.
CreateFileAsync(String, CreationCollisionOption) Creates a new file in the current folder. This method also 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 folder that represents a container for a group of files (for example, the return value from some overloads of the GetFoldersAsync method), the CreateFileAsync method 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

 

 

Mostrar:
© 2014 Microsoft