ListManagementTermExtensions.GetAllTermsAsync Method

Definition

Gets all terms from the list with list Id equal to the list Id passed.

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.ContentModerator.Models.Terms> GetAllTermsAsync (this Microsoft.Azure.CognitiveServices.ContentModerator.IListManagementTerm operations, string listId, string language, int? offset = default, int? limit = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAllTermsAsync : Microsoft.Azure.CognitiveServices.ContentModerator.IListManagementTerm * string * string * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.ContentModerator.Models.Terms>
<Extension()>
Public Function GetAllTermsAsync (operations As IListManagementTerm, listId As String, language As String, Optional offset As Nullable(Of Integer) = Nothing, Optional limit As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Terms)

Parameters

operations
IListManagementTerm

The operations group for this extension method.

listId
String

List Id of the image list.

language
String

Language of the terms.

offset
Nullable<Int32>

The pagination start index.

limit
Nullable<Int32>

The max limit.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to