GraphClient.GetMessageList Method
Namespace: Rebex.Net
Assembly: Rebex.Graph.dll (version 7.0.9147)
GetMessageList(GraphFolderId, GraphMessageFields, GraphPageView)
Gets a list of messages in the specified folder.
Declaration
public GraphMessageCollection GetMessageList(GraphFolderId folderId, GraphMessageFields fields = GraphMessageFields.Default, GraphPageView pageView = null)
Parameters
Type | Name | Description |
---|---|---|
Graph |
folderId | ID of a folder to be listed. Can be null, in such case whole mailbox is listed. |
Graph |
fields | Specifies the set of properties to retrieve about each message. |
Graph |
pageView | Paging options. Can be null, in such case the top 50 results are returned. |
Returns
Type | Description |
---|---|
Graph |
List of Graph |
GetMessageList(GraphFolderId, GraphPageView)
Gets a list of messages in the specified folder.
Declaration
public GraphMessageCollection GetMessageList(GraphFolderId folderId, GraphPageView pageView)
Parameters
Type | Name | Description |
---|---|---|
Graph |
folderId | ID of a folder to be listed. Can be null, in such case whole mailbox is listed. |
Graph |
pageView | Paging options. Can be null, in such case the top 50 results are returned. |
Returns
Type | Description |
---|---|
Graph |
List of Graph |