ContentSafetyModelFactory.TextBlockItem(String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET