Click or drag to resize

XmlSchemaManagerCanAddNew Method

Determines, if a child with the specified name can be added to the parent node. The method checks the specified minimal and maximal occurrences, defined for this relation in the xml schema.

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

Parameters

parent  XElement
The parent node
childName  XName
name of the child

Return Value

Boolean
true, if a child with that name can be added; false otherwise
See Also