API Reference
Class
DefinitionListBlock
Definition list rendered as term/definition pairs. Markdown output uses a simple "Term: Definition" fallback; HTML uses <dl>.
Inheritance
- MarkdownBlock
- DefinitionListBlock
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Constructors
public DefinitionListBlock() #Creates a definition list block.
Methods
AddEntry 2 overloads
public Void AddEntry(DefinitionListEntry entry) #Returns:
VoidAdds a typed definition list entry.
Parameters
- entry OfficeIMO.Markdown.DefinitionListEntry
public Void AddEntry(String term, String definition) #Returns:
VoidAdds a definition-list entry parsed from Markdown term and definition text.
Parameters
- term System.String
- definition System.String
public Void AddGroup(DefinitionListGroup group) #Returns:
VoidAdds a semantic definition-list group.
Parameters
- group OfficeIMO.Markdown.DefinitionListGroup
OfficeIMO#Markdown#IMarkdownBlock#RenderHtml() #OfficeIMO#Markdown#IMarkdownBlock#RenderMarkdown() #Inherited Methods
public Void Accept(MarkdownVisitor visitor) #Returns:
VoidInherited from MarkdownObject
Parameters
- visitor MarkdownVisitor
public IEnumerable<MarkdownObject> Ancestors() #Returns:
IEnumerable<MarkdownObject>Inherited from MarkdownObject
public IEnumerable<MarkdownObject> AncestorsAndSelf() #Returns:
IEnumerable<MarkdownObject>Inherited from MarkdownObject
public IEnumerable<TObject> DescendantObjectsOfType<TObject>() #Returns:
IEnumerable<TObject>Inherited from MarkdownObject
Type Parameters
- TObject
public IEnumerable<MarkdownObject> Descendants() #Returns:
IEnumerable<MarkdownObject>Inherited from MarkdownObject
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public IReadOnlyList<DefinitionListGroup> Groups { get; } #Semantic definition-list groups with shared terms and definition bodies.
public IReadOnlyList<DefinitionListEntry> Entries { get; } #Typed definition list entries.
public IReadOnlyList<DefinitionListInlineItem> InlineItems { get; } #Parsed inline representation of the current definition list items.
public IReadOnlyList<IMarkdownBlock> ChildBlocks { get; } #Structured definition body blocks flattened across all groups and definitions.
Inherited Properties
public MarkdownObject Parent { get; } #Inherited from MarkdownObject
public MarkdownDoc Document { get; } #Inherited from MarkdownObject
public MarkdownObject Root { get; } #Inherited from MarkdownObject
public Nullable<Int32> IndexInParent { get; } #Inherited from MarkdownObject
public MarkdownObject PreviousSibling { get; } #Inherited from MarkdownObject
public MarkdownObject NextSibling { get; } #Inherited from MarkdownObject
public Nullable<MarkdownSourceSpan> SourceSpan { get; set; } #Inherited from MarkdownObject
public MarkdownAttributeSet Attributes { get; } #Inherited from MarkdownObject
public IReadOnlyList<MarkdownObject> ChildObjects { get; } #Inherited from MarkdownObject