Click or drag to resize

XmlSchemaManagerIsChoice Method

Determines, whether the occurrence of a child with that name under a parent with that name is part of a choice (means that there are other exclusive alternatives for child nodes). If not, the child is defined in a sequence. For choices, the names of alternatives are available with Choices(XName, XName).

Namespace: Aml.Engine.Schema
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public bool IsChoice(
	string parentName,
	string childName
)

Parameters

parentName  String
Name of the child's parent
childName  String
Name of the child

Return Value

Boolean
true if the defining collection is a choice; otherwise the collection of child's is defined as a sequence.
See Also