Search Results for

    Show / Hide Table of Contents

    Class TextMarkup

    A MarkupData containing plain text.

    Inheritance
    Object
    MarkupData
    TextMarkup
    Inherited Members
    MarkupData.Parent
    MarkupData.ParentFragment
    MarkupData.ParentParagraph
    MarkupData.ParentParagraphUnit
    MarkupData.Ancestors
    MarkupData.ParentSegment
    MarkupData.IsContainer
    MarkupData.IndexInParent
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Sdl.LanguagePlatform.TranslationMemoryApi.LiteBCM
    Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
    Syntax
    public class TextMarkup : MarkupData

    Constructors

    TextMarkup()

    Initializes a new instance of the TextMarkup class.

    Declaration
    public TextMarkup()

    TextMarkup(String)

    Initializes a new instance of the TextMarkup class.

    Declaration
    public TextMarkup(string text)
    Parameters
    Type Name Description
    String text

    The text.

    Properties

    Id

    Markup data unique id (GUID). Can not be null.

    Declaration
    public override string Id { get; set; }
    Property Value
    Type Description
    String
    Overrides
    MarkupData.Id

    Text

    Gets or sets the text. When setting the value, it automatically gets sanitized to clear all invisible control characters.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    String

    The text.

    Type

    Gets the type of MarkupData.

    Declaration
    protected override string Type { get; set; }
    Property Value
    Type Description
    String

    The type.

    Overrides
    MarkupData.Type

    Methods

    AcceptVisitor(LiteBcmVisitor)

    Accepts a visitor of type LiteBcmVisitor.

    Declaration
    public override void AcceptVisitor(LiteBcmVisitor visitor)
    Parameters
    Type Name Description
    LiteBcmVisitor visitor

    The LiteBcmVisitor used to visit this item.

    Overrides
    MarkupData.AcceptVisitor(LiteBcmVisitor)

    ToString()

    Converts to string.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A System.String that represents this instance.

    Overrides
    System.Object.ToString()

    See Also

    MarkupData
    In this article
    Back to top Generated by DocFX