ProfanityAction Enum
Definition
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.
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
ProfanityAction(String) | Initializes a new instance of ProfanityAction. |
|
Deleted | 2 | Profanity is deleted from the translated text. |
Deleted | Deleted. |
|
Equals(ProfanityAction) | Indicates whether the current object is equal to another object of the same type. |
|
Marked | 1 | Profanity is marked. |
Marked | Marked. |
|
NoAction | 0 | No Action is taken on profanity. |
NoAction | NoAction. |
|
Equality(ProfanityAction, ProfanityAction) | Determines if two ProfanityAction values are the same. |
|
Implicit(String to ProfanityAction) | Converts a string to a ProfanityAction. |
|
Inequality(ProfanityAction, ProfanityAction) | Determines if two ProfanityAction values are not the same. |
|
ToString() | Returns the fully qualified type name of this instance. |
Applies to
Azure SDK for .NET