GraphClient.GetFolderList Method
Namespace: Rebex.Net
Assembly: Rebex.Graph.dll (version 7.0.9119)
GetFolderList(GraphPageView)
Gets a list of folders in the user's mailbox root. Operation is shallow, which means subfolders are not returned.
Declaration
public GraphFolderCollection GetFolderList(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 |
---|---|
GraphFolderCollection | List of GraphFolderInfo. |
GetFolderList(GraphFolderId, GraphPageView)
Gets a list of subfolders of the specified folder. Operation is shallow, which means that only first level of subfolders is returned.
Declaration
public GraphFolderCollection GetFolderList(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 |
---|---|
GraphFolderCollection | List of GraphFolderInfo. |