Search Results for

    Show / Hide Table of Contents

    Class TextMarkup

    A MarkupData containing plain text.

    Inheritance
    System.Object
    ExtensionDataContainer
    MetadataContainer
    MarkupData
    TextMarkup
    Implements
    System.IEquatable<MetadataContainer>
    ICloneable<MarkupData>
    System.IEquatable<MarkupData>
    Inherited Members
    MarkupData.UniqueClone()
    MarkupData.Id
    MarkupData.Parent
    MarkupData.ParentFragment
    MarkupData.ParentParagraph
    MarkupData.ParentParagraphUnit
    MarkupData.Ancestors
    MarkupData.ParentSegment
    MarkupData.IsContainer
    MarkupData.IndexInParent
    MetadataContainer.GetMetadata(String)
    MetadataContainer.SetMetadata(String, String)
    MetadataContainer.Equals(MetadataContainer)
    MetadataContainer.ShouldSerialize_metadata()
    MetadataContainer.Metadata
    ExtensionDataContainer.ExtensionData
    Namespace: Sdl.Core.Bcm.BcmModel
    Assembly: Sdl.Core.Bcm.BcmModel.dll
    Syntax
    public class TextMarkup : MarkupData, ICloneable<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
    System.String text

    The text.

    Properties

    Text

    Gets or sets the text.

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

    The text.

    Type

    Gets the type of MarkupData.

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

    The type.

    Overrides
    MarkupData.Type

    Methods

    AcceptVisitor(BcmVisitor)

    Accepts a visitor of type BcmVisitor.

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

    The BcmVisitor used to visit this item.

    Overrides
    MarkupData.AcceptVisitor(BcmVisitor)

    Clone()

    Clones this instance.

    Declaration
    public TextMarkup Clone()
    Returns
    Type Description
    TextMarkup

    A deep clone of this instance.

    Equals(MarkupData)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public override bool Equals(MarkupData other)
    Parameters
    Type Name Description
    MarkupData other

    An object to compare with this object.

    Returns
    Type Description
    System.Boolean

    true if the current object is equal to the other parameter; otherwise, false.

    Overrides
    MarkupData.Equals(MarkupData)

    Equals(Object)

    Performs a deep-equals comparison.
    System.Object.Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    MarkupData.Equals(Object)

    GetHashCode()

    Returns a hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    A hash code for this instance,

    Overrides
    MarkupData.GetHashCode()

    ToString()

    Converts to string.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A System.String that represents this instance.

    Implements

    System.IEquatable<>
    ICloneable<T>
    System.IEquatable<>

    See Also

    MarkupData

    On this page

    Back to top Generated by DocFX