如何在 OneDriveClient 中创建文件夹

How to create folder in OneDriveClient

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

创建文件夹的方法如下:

 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