Class TextMarkup
A MarkupData containing plain text.
Inherited Members
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
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
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
ToString()
Converts to string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A System.String that represents this instance. |
Overrides
System.Object.ToString()