 | XmlSchemaManagerIsParent Method |
Determines, if the parent is allowed to contain a child with the provided name according to this schema instance.
Namespace: Aml.Engine.SchemaAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic bool IsParent(
XElement parent,
XName childName
)
Public Function IsParent (
parent As XElement,
childName As XName
) As Boolean
public:
bool IsParent(
XElement^ parent,
XName^ childName
)
Parameters
- parent XElement
- The parent.
- childName XName
- Name of the child.
Return Value
Booleantrue if the parent can contain a child element with that name; otherwise,
false.
See Also