Share via


ContentSafetyModelFactory.AddBlockItemsResult Method

Definition

Initializes a new instance of AddBlockItemsResult.

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

Parameters

value
IEnumerable<TextBlockItem>

Array of blockItems added.

Returns

A new AddBlockItemsResult instance for mocking.

Applies to