2

如何在IOneDriveClient( OneDriveClientExtensions.GetUniversalClient(scopes)) 中创建?不是休息!

4

1 回答 1

4

以下是创建文件夹的方法:

 var folderToCreate = new Item { Name = folderName, Folder = new Folder() };
    var newFolder = await client.Drive.Items[parentId].Children.Request().AddAsync(folderToCreate);

https://github.com/OneDrive/onedrive-sdk-csharp/issues/24

于 2015-12-18T17:46:44.583 回答