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

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