 | 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.SchemaAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic bool CanAddNew(
XElement parent,
XName childName
)
Public Function CanAddNew (
parent As XElement,
childName As XName
) As Boolean
public:
bool CanAddNew(
XElement^ parent,
XName^ childName
)
Parameters
- parent XElement
- The parent node
- childName XName
- name of the child
Return Value
Booleantrue, if a child with that name can be added;
false otherwise
See Also