OnenoteClient.GetSectionsInNotebookAsync(String, CancellationToken) Method

Definition

Get sections in notebook

public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Onenote.Models.GetSectionsInNotebookResponse> GetSectionsInNotebookAsync(string notebookKey, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSectionsInNotebookAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Onenote.Models.GetSectionsInNotebookResponse>
override this.GetSectionsInNotebookAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Onenote.Models.GetSectionsInNotebookResponse>
Public Overridable Function GetSectionsInNotebookAsync (notebookKey As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GetSectionsInNotebookResponse)

Parameters

notebookKey
String

Notebook Key

cancellationToken
CancellationToken

Cancellation token.

Returns

The Get sections in notebook response.

Remarks

Get sections in a specific notebook.

Applies to