Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

GraphClient.GetFolderListAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Graph.dll (version 7.0.9147)

GetFolderListAsync(GraphPageView)

Begins asynchronous GetFolderList operation. Gets a list of folders in the user's mailbox root. Operation is shallow, which means subfolders are not returned.

Declaration
public Task<GraphFolderCollection> GetFolderListAsync(GraphPageView pageView = null)
Parameters
Type Name Description
GraphPageView pageView

Paging options. Can be null, in such case the top 50 results are returned.

Returns
Type Description
Task<GraphFolderCollection>

List of GraphFolderInfo.

GetFolderListAsync(GraphFolderId, GraphPageView)

Begins asynchronous GetFolderList operation. Gets a list of subfolders of the specified folder. Operation is shallow, which means that only first level of subfolders is returned.

Declaration
public Task<GraphFolderCollection> GetFolderListAsync(GraphFolderId folderId, GraphPageView pageView = null)
Parameters
Type Name Description
GraphFolderId folderId

ID of a folder to retrieve subfolders from.

GraphPageView pageView

Paging options. Can be null, in such case the top 50 results are returned.

Returns
Type Description
Task<GraphFolderCollection>

List of GraphFolderInfo.

In This Article
  • GetFolderListAsync(GraphPageView)
  • GetFolderListAsync(GraphFolderId, GraphPageView)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies