< Back


MarkdownTextListItem

Namespace: Markdown

Markdown text list item.

public class MarkdownTextListItem : MarkdownTextElement, IMarkdownListItem

Inheritance ObjectMarkdownTextElementMarkdownTextListItem
Implements IMarkdownListItem

Properties

Text

Gets or sets the text.

public string Text { get; set; }

Property Value

String
The text or a string that represents the markdown inline element.

Constructors

MarkdownTextListItem(String)

Initializes a new instance of the MarkdownTextListItem class.

public MarkdownTextListItem(string text)

Parameters

text String
The list item text.

MarkdownTextListItem(MarkdownInlineElement)

Initializes a new instance of the MarkdownTextListItem class.

public MarkdownTextListItem(MarkdownInlineElement inlineElement)

Parameters

inlineElement MarkdownInlineElement
The list item text as markdown inline element.

Methods

ToString()

Returns a string that represents the current markdown text list item.

public string ToString()

Returns

String
A string that represents the current markdown text list item.


< Back