 | XmlSchemaManagerChoices Method |
Gets the names of all alternative child nodes, which can be added to a parent
node with the given name. The specified child itself is included. Choices only
exists, if
IsChoice(String, String) returns true for the defined
child name.
Namespace: Aml.Engine.SchemaAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic IEnumerable<XName> Choices(
XName parentName,
XName childName
)
Public Function Choices (
parentName As XName,
childName As XName
) As IEnumerable(Of XName)
public:
IEnumerable<XName^>^ Choices(
XName^ parentName,
XName^ childName
)
Parameters
- parentName XName
- Name of the child's parent
- childName XName
- Name of the child
Return Value
IEnumerableXName
Enumeration of names, representing the possible alternatives for child elements.
See Also