Language

DetectTextProtectedMaterialOptions(String) Constructor

Definition

Initializes a new instance of DetectTextProtectedMaterialOptions.

public DetectTextProtectedMaterialOptions(string text);
new Azure.AI.ContentSafety.DetectTextProtectedMaterialOptions : string -> Azure.AI.ContentSafety.DetectTextProtectedMaterialOptions
Public Sub New (text As String)

Parameters

text
String

The text to be analyzed, which may contain protected material. The characters will be counted in Unicode code points.

Exceptions

text is null.

Applies to