如何在IOneDriveClient
(OneDriveClientExtensions.GetUniversalClient(scopes)
)中创建?不是REST!
答案 0 :(得分:4)
以下是创建文件夹的方法:
var folderToCreate = new Item { Name = folderName, Folder = new Folder() };
var newFolder = await client.Drive.Items[parentId].Children.Request().AddAsync(folderToCreate);