How to get the full path of a DriveItem? #2515
-
var searchResult = await _graphClient.Drives[drive.Id].SearchWithQ(name).GetAsSearchWithQGetResponseAsync();
DriveItem file = await _graphClient.Drives[drive.Id].Items[searchResult.Value.First().Id].GetAsync();
// I want to get FullName, But it only has Name property |
Beta Was this translation helpful? Give feedback.
Answered by
andrueastman
May 24, 2024
Replies: 1 comment
-
You can possibly use the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ilyfairy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can possibly use the
file.ParentReference.Path
property and possibly append it to the name to get the full path.