text: ---
  -api-id: M:Windows.Storage.IStorageFolder.CreateFileAsync(System.String)
  -api-type: winrt method
  ---
  
  <!-- Method syntax
  public Windows.Foundation.IAsyncOperation<Windows.Storage.StorageFile> CreateFileAsync(System.String desiredName)
  -->
  
  # Windows.Storage.IStorageFolder.CreateFileAsync
  
  ## -description
  Creates a new file in the current folder.
  
  ## -parameters
  ### -param desiredName
  The desired name of the file to create.
  
  ## -returns
  When this method completes, it returns the new file as a [StorageFile](storagefile.md).
  
  ## -remarks
  
  ## -examples
  
  ## -see-also
  [CreateFileAsync(String, CreationCollisionOption)](istoragefolder_createfileasync_1058061470.md), [StorageFolder.CreateFileAsync](/uwp/api/windows.storage.storagefolder.createfileasync)