ProfanityAction Enum

Definition

Translator profanity actions.

public enum ProfanityAction
public readonly struct ProfanityAction : IEquatable<Azure.AI.Translation.Text.ProfanityAction>
type ProfanityAction = 
type ProfanityAction = struct
Public Enum ProfanityAction
Public Structure ProfanityAction
Implements IEquatable(Of ProfanityAction)
Inheritance
ProfanityAction
Inheritance
ProfanityAction

Fields

Name Value Description
NoAction 0

No Action is taken on profanity.

Marked 1

Profanity is marked.

Deleted 2

Profanity is deleted from the translated text.

Deleted

Deleted.

Equality(ProfanityAction, ProfanityAction)

Determines if two ProfanityAction values are the same.

Equals(ProfanityAction)

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

Implicit(String to ProfanityAction)

Converts a string to a ProfanityAction.

Inequality(ProfanityAction, ProfanityAction)

Determines if two ProfanityAction values are not the same.

Marked

Marked.

NoAction

NoAction.

ProfanityAction(String)

Initializes a new instance of ProfanityAction.

ToString()

Returns the fully qualified type name of this instance.

Applies to