Share via


TextCategory Struct

Definition

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

TextCategory(String)

Initializes a new instance of TextCategory.

Properties

Hate

Hate.

SelfHarm

SelfHarm.

Sexual

Sexual.

Violence

Violence.

Methods

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

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