コード例 #1
0
        public static async Task <StorageFile> CreateFileByPathAsync(this StorageFolder startingFolder, string[] path, string fileName, CreationCollisionOption collisionOption)
        {
            StorageFolder folder = await startingFolder.CreateFolderByPathAsync(path);

            return(await folder.CreateFileAsync(fileName, collisionOption));
        }