Questions tagged «microsoft-graph»

5
c#-Microsoft Graph API-检查文件夹是否存在
我正在使用Microsoft Graph API,并且正在创建一个文件夹,如下所示: var driveItem = new DriveItem { Name = Customer_Name.Text + Customer_LName.Text, Folder = new Folder { }, AdditionalData = new Dictionary<string, object>() { {"@microsoft.graph.conflictBehavior","rename"} } }; var newFolder = await App.GraphClient .Me .Drive .Items["id-of-folder-I-am-putting-this-into"] .Children .Request() .AddAsync(driveItem); 我的问题是如何检查此文件夹是否存在以及是否获取该文件夹的ID?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.