System.Xml.Schema.XmlSchemaValidator.GetUnspecifiedDefaultAttributes Method

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.

Syntax

public void GetUnspecifiedDefaultAttributes (ArrayList defaultAttributes)

Parameters

defaultAttributes
An ArrayList to populate with System.Xml.Schema.XmlSchemaAttribute objects for any attributes not yet encountered during validation in the element context.

Remarks

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.

Requirements

Namespace: System.Xml.Schema
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0