Block Class

Represents a block of placeholder template nodes between a Block opening placeholder and block closing placeholders.

Definition

Namespace: MFiles.VAF.Placeholders
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public class Block : PlaceholderTemplateElement
Inheritance
Object    PlaceholderTemplateNode    PlaceholderTemplateElement    Block

Constructors

Block Constructor.

Properties

ChildCount The number of child nodes this node has.
(Inherited from PlaceholderTemplateNode)
Children This node's child nodes.
(Inherited from PlaceholderTemplateNode)
End The placeholder that closed the block.
IsLeaf True if this node cannot contain children.
(Inherited from PlaceholderTemplateNode)
Parent This node's parent node.
(Inherited from PlaceholderTemplateElement)
Root The placeholder template in which this node resides.
(Inherited from PlaceholderTemplateElement)
Settings The settings which control how a placeholders are parsed and expanded.
(Inherited from PlaceholderTemplateElement)
Start The placeholder that opened the block.
Text The raw text value.
(Overrides PlaceholderTemplateNodeText)
Type The type of node this object represents.
(Overrides PlaceholderTemplateNodeType)
ValidChildTypes The type of child nodes this node can contain.
(Overrides PlaceholderTemplateNodeValidChildTypes)
Vault The vault for which the placeholder document is defined/intended.
(Inherited from PlaceholderTemplateElement)

Methods

AppendChild Appends a child node to this node's children.
(Inherited from PlaceholderTemplateNode)
Close Closes the block with the block ending placeholder.
Expand Expands this node in the given context.
(Overrides PlaceholderTemplateNodeExpand(IExpansionContext, ObjVerExReadCache))
GetResolvedStructureReferences Finds any resolved structure references in this node or it's children.
(Inherited from PlaceholderTemplateNode)
Validate Validates the node and it's child nodes returning all issues found throughout. Returns static parse based issues, not expansion issues.
(Inherited from PlaceholderTemplateNode)

Fields

children This node's child nodes.
(Inherited from PlaceholderTemplateNode)

See Also