Share via


ContentSafetyModelFactory.TextBlockItem(String, String, String) Method

Definition

Initializes a new instance of TextBlockItem.

public static Azure.AI.ContentSafety.TextBlockItem TextBlockItem (string blockItemId = default, string description = default, string text = default);
static member TextBlockItem : string * string * string -> Azure.AI.ContentSafety.TextBlockItem
Public Shared Function TextBlockItem (Optional blockItemId As String = Nothing, Optional description As String = Nothing, Optional text As String = Nothing) As TextBlockItem

Parameters

blockItemId
String

Block Item Id. It will be uuid.

description
String

Block item description.

text
String

Block item content.

Returns

A new TextBlockItem instance for mocking.

Applies to