Click or drag to resize

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.Schema
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public bool HasChoiceOfElements(
	XName parentName,
	XName childName,
	out 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

Boolean
true if the specified parent to child relation is restricted to a choice of elements; otherwise, false.
See Also