Share via


ContentSafetyModelFactory.AddOrUpdateTextBlocklistItemsResult Method

Definition

Initializes a new instance of AddOrUpdateTextBlocklistItemsResult.

public static Azure.AI.ContentSafety.AddOrUpdateTextBlocklistItemsResult AddOrUpdateTextBlocklistItemsResult (System.Collections.Generic.IEnumerable<Azure.AI.ContentSafety.TextBlocklistItem> blocklistItems = default);
static member AddOrUpdateTextBlocklistItemsResult : seq<Azure.AI.ContentSafety.TextBlocklistItem> -> Azure.AI.ContentSafety.AddOrUpdateTextBlocklistItemsResult
Public Shared Function AddOrUpdateTextBlocklistItemsResult (Optional blocklistItems As IEnumerable(Of TextBlocklistItem) = Nothing) As AddOrUpdateTextBlocklistItemsResult

Parameters

blocklistItems
IEnumerable<TextBlocklistItem>

Array of blocklistItems have been added.

Returns

A new AddOrUpdateTextBlocklistItemsResult instance for mocking.

Applies to