Click or drag to resize

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.Schema
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
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