 | 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.SchemaAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic bool IsChoice(
string parentName,
string childName
)
Public Function IsChoice (
parentName As String,
childName As String
) As Boolean
public:
bool IsChoice(
String^ parentName,
String^ childName
)
Parameters
- parentName String
- Name of the child's parent
- childName String
- Name of the child
Return Value
Booleantrue if the defining collection is a choice; otherwise the collection
of child's is defined as a sequence.
See Also