 | XmlSchemaManagerAttributes Method |
Gets the Schema Elements for all attributes of the specified child element of
the specified parent element, if the defined parent child relation exists in
the xml schema. If required is set to true, only the required
attributes are returned. The default behaviour is, that all attributes -
optional and required attributes - are returned.
Namespace: Aml.Engine.SchemaAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic IEnumerable<XmlSchemaAttribute> Attributes(
XName parentName,
XName childName,
bool required = false
)
Public Function Attributes (
parentName As XName,
childName As XName,
Optional required As Boolean = false
) As IEnumerable(Of XmlSchemaAttribute)
public:
IEnumerable<XmlSchemaAttribute^>^ Attributes(
XName^ parentName,
XName^ childName,
bool required = false
)
Parameters
- parentName XName
-
name of the child's parent
- childName XName
-
name of the child
- required Boolean (Optional)
-
optional parameter, defining of only required attributes are returned, or all attributes.
Return Value
IEnumerableXmlSchemaAttribute
Enumeration of attribute definitions
See Also