Validates identity constraints on the default attributes and populates the ArrayList specified with System.Xml.Schema.XmlSchemaAttribute objects for any attributes with default values that have not been previously validated using the erload:System.Xml.Schema.XmlSchemaValidator.ValidateAttribute method in the element context.
- defaultAttributes
- An ArrayList to populate with System.Xml.Schema.XmlSchemaAttribute objects for any attributes not yet encountered during validation in the element context.
The XmlSchemaValidator.GetUnspecifiedDefaultAttributes(ArrayList) method must be called after validating all the attributes for the current element with the erload:System.Xml.Schema.XmlSchemaValidator.ValidateAttribute method. The XmlSchemaValidator.GetUnspecifiedDefaultAttributes(ArrayList) method should be used to determine what default attributes are to be inserted into the XML document being validated.