你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ListManagementTermExtensions.GetAllTermsAsync 方法

定义

获取列表 ID 等于传递的列表 ID 的所有术语。

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)

参数

operations
IListManagementTerm

此扩展方法的操作组。

listId
String

图像列表的列表 ID。

language
String

术语的语言。

offset
Nullable<Int32>

分页开始索引。

limit
Nullable<Int32>

最大限制。

cancellationToken
CancellationToken

取消标记。

返回

适用于