你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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