Click or drag to resize

XmlSchemaManagerSiblingBefore Method

This method is a utility method for insert operations. The method will return the node which should be used as the sibling before a newly added child with the defined name. The Insertion has to be done after the returned node or prepended to the parent itself, if no node null is returned.

Namespace: Aml.Engine.Schema
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public XElement SiblingBefore(
	XElement parent,
	XName childName
)

Parameters

parent  XElement
The parent node
childName  XName
Name of the child.

Return Value

XElement
The child node of the parent, which should be the sibling before a newly added node, or null, if no node exists.
See Also