 | XmlSchemaManagerHasChoiceOfElements Method |
Determines, whether the schema element representing the parent - child relation
has a content, which is restricted to a choice of elements. If onlyOne is set
to true, there can not be more than one element added to the element
Namespace: Aml.Engine.SchemaAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic bool HasChoiceOfElements(
XName parentName,
XName childName,
out bool onlyOne
)
Public Function HasChoiceOfElements (
parentName As XName,
childName As XName,
<OutAttribute> ByRef onlyOne As Boolean
) As Boolean
public:
bool HasChoiceOfElements(
XName^ parentName,
XName^ childName,
[OutAttribute] bool% onlyOne
)
Parameters
- parentName XName
- Name of the parent.
- childName XName
- Name of the child.
- onlyOne Boolean
- if set to true [only one].
Return Value
Booleantrue if the specified parent to child relation is restricted to a choice of elements; otherwise,
false.
See Also