Click or drag to resize

Placeholder Class

Represents a placeholder within a placeholder template.
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 sealed class Placeholder : PlaceholderTemplateElement

The Placeholder type exposes the following members.

Constructors
  NameDescription
Public methodPlaceholder
Constructor.
Top
Properties
  NameDescription
Public propertyAcceptsContextTypes
The expansion context the placeholder accepts. (The types accepted by the first level.)
Public propertyChildCount
The number of child nodes this node has.
(Inherited from PlaceholderTemplateNode.)
Public propertyChildren
This node's child nodes.
(Inherited from PlaceholderTemplateNode.)
Public propertyContextType
The data type this placeholder emits during expansion. (The type emitted by the final level.)
Public propertyIsLeaf
True if this node cannot contain children.
(Inherited from PlaceholderTemplateNode.)
Public propertyLevels
The placeholder's children cast as levels.
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 propertyText
The full text representation of the placeholder.
(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 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).)
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.)
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
See Also