Back to API Reference
Enum

TextSemanticRole

Platform-neutral meaning exposed by one text range entity.

public static readonly TextSemanticRole Text = 0

Generic annotated text without an interaction-specific role.

public static readonly TextSemanticRole Button = 2

Action resembling a button.

public static readonly TextSemanticRole Mention = 3

Person, role or named mention.

public static readonly TextSemanticRole Tag = 4

Topic or hashtag reference.

public static readonly TextSemanticRole Code = 5

Source code or another literal computer-language fragment.

public static readonly TextSemanticRole Math = 6

Mathematical expression.

public static readonly TextSemanticRole Heading = 7

Heading in a document hierarchy.

public static readonly TextSemanticRole Image = 8

Inline image or non-text object.

public static readonly TextSemanticRole Comment = 9

Comment or annotation attached to document content.

public static readonly TextSemanticRole Error = 10

Spelling, grammar or validation issue.

public static readonly TextSemanticRole Status = 11

Status or live-region style information.