-
Beta Was this translation helpful? Give feedback.
Answered by
jansenbe
Nov 24, 2023
Replies: 1 comment 6 replies
-
@shabirjan: What about below approach: string sharedDocumentsFolderUrl = $"{context.Uri.PathAndQuery}/graph/folder1/folder 1.1";
IFolder sharedDocumentsFolder = await context.Web.GetFolderByServerRelativeUrlAsync(sharedDocumentsFolderUrl, p => p.Files);
foreach(var file in sharedDocumentsFolder.Files.AsRequested())
{
Console.WriteLine(file.Name);
} |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@shabirjan : this works for me:
This however is quite similar to…