Back to API Reference
Enum
TextSemanticRole
Platform-neutral meaning exposed by one text range entity.
public static readonly TextSemanticRole Text = 0Generic annotated text without an interaction-specific role.
public static readonly TextSemanticRole Link = 1Navigable hyperlink.
public static readonly TextSemanticRole Button = 2Action resembling a button.
public static readonly TextSemanticRole Mention = 3Person, role or named mention.
public static readonly TextSemanticRole Tag = 4Topic or hashtag reference.
public static readonly TextSemanticRole Code = 5Source code or another literal computer-language fragment.
public static readonly TextSemanticRole Math = 6Mathematical expression.
public static readonly TextSemanticRole Heading = 7Heading in a document hierarchy.
public static readonly TextSemanticRole Image = 8Inline image or non-text object.
public static readonly TextSemanticRole Comment = 9Comment or annotation attached to document content.
public static readonly TextSemanticRole Error = 10Spelling, grammar or validation issue.
public static readonly TextSemanticRole Status = 11Status or live-region style information.
