Click or drag to resize

Block Class

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

Namespace:  MFiles.VAF.Placeholders
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public class Block : PlaceholderTemplateElement

The Block type exposes the following members.

Constructors
  NameDescription
Public methodBlock
Constructor.
Top
Properties
  NameDescription
Public propertyChildCount
The number of child nodes this node has.
(Inherited from PlaceholderTemplateNode.)
Public propertyChildren
This node's child nodes.
(Inherited from PlaceholderTemplateNode.)
Public propertyEnd
The placeholder that closed the block.
Public propertyIsLeaf
True if this node cannot contain children.
(Inherited from PlaceholderTemplateNode.)
Public propertyParent
This node's parent node.
(Inherited from PlaceholderTemplateElement.)
Public propertyRoot
The placeholder template in which this node resides.
(Inherited from PlaceholderTemplateElement.)
Public propertySettings
The settings which control how a placeholders are parsed and expanded.
(Inherited from PlaceholderTemplateElement.)
Public propertyStart
The placeholder that opened the block.
Public propertyText
The raw text value.
(Overrides PlaceholderTemplateNodeText.)
Public propertyType
The type of node this object represents.
(Overrides PlaceholderTemplateNodeType.)
Public propertyValidChildTypes
The type of child nodes this node can contain.
(Overrides PlaceholderTemplateNodeValidChildTypes.)
Public propertyVault
The vault for which the placeholder document is defined/intended.
(Inherited from PlaceholderTemplateElement.)
Top
Methods
  NameDescription
Public methodAppendChild
Appends a child node to this node's children.
(Inherited from PlaceholderTemplateNode.)
Public methodClose
Closes the block with the block ending placeholder.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExpand
Expands this node in the given context.
(Overrides PlaceholderTemplateNodeExpand(IExpansionContext, ObjVerExReadCache).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetResolvedStructureReferences
Finds any resolved structure references in this node or it's children.
(Inherited from PlaceholderTemplateNode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Validates the node and it's child nodes returning all issues found throughout. Returns static parse based issues, not expansion issues.
(Inherited from PlaceholderTemplateNode.)
Top
Fields
  NameDescription
Protected fieldchildren
This node's child nodes.
(Inherited from PlaceholderTemplateNode.)
Top
See Also