 | XmlSchemaManagerMaxOccurence Method |
Returned the maximal occurrence for child nodes with the specified name under a
parent node with the specified name. For unbounded occurrences, the returned
value is
MaxValue. If the occurrence is
0, the
existence of a child with that name under a parent with that name is not allowed.
Namespace: Aml.Engine.SchemaAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic decimal MaxOccurence(
string parentName,
string childName
)
Public Function MaxOccurence (
parentName As String,
childName As String
) As Decimal
public:
Decimal MaxOccurence(
String^ parentName,
String^ childName
)
Parameters
- parentName String
- Name of the child's parent
- childName String
- Name of the child
Return Value
DecimalThe maximal occurrence of children with the defined name.
See Also