IGraphClient.ListFolders

ListFolders(ODataQueryBuilder)

List folders from the parent folder for folders that are displayed in normal mail clients, such as the inbox.

public FolderInfoCollection ListFolders(ODataQueryBuilder queryBuilder = null)
ParameterTypeDescription
queryBuilderODataQueryBuilderOptional OData query builder for filtering folders.

Return Value

Returns list of subfolders of the root folder

See Also


ListFolders(string, ODataQueryBuilder)

List folders from the parent folder for folders that are displayed in normal mail clients, such as the inbox.

public FolderInfoCollection ListFolders(string id, ODataQueryBuilder queryBuilder = null)
ParameterTypeDescription
idStringParent folder id
queryBuilderODataQueryBuilderOptional OData query builder for filtering folders.

Return Value

Returns list of subfolders of the root folder

See Also