Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

TextCategory Struct

Definition

Namespace:
Azure.AI.ContentSafety
Assembly:
Azure.AI.ContentSafety.dll
Package:
Azure.AI.ContentSafety v1.0.0
Package:
Azure.AI.ContentSafety v1.0.0-beta.1
Source:
TextCategory.cs
Source:
TextCategory.cs

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.

Text analyze category.

public readonly struct TextCategory : IEquatable<Azure.AI.ContentSafety.TextCategory>
type TextCategory = struct
Public Structure TextCategory
Implements IEquatable(Of TextCategory)
Inheritance
TextCategory
Implements

Constructors

Name Description
TextCategory(String)

Initializes a new instance of TextCategory.

Properties

Name Description
Hate

Hate.

SelfHarm

SelfHarm.

Sexual

Sexual.

Violence

Violence.

Methods

Name Description
Equals(TextCategory)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(TextCategory, TextCategory)

Determines if two TextCategory values are the same.

Implicit(String to TextCategory)

Converts a string to a TextCategory.

Inequality(TextCategory, TextCategory)

Determines if two TextCategory values are not the same.

Applies to


Feedback

Was this page helpful?