Επεξεργασία

Κοινή χρήση μέσω


XmlSchemaValidator.GetUnspecifiedDefaultAttributes(ArrayList) Method

Definition

Validates identity constraints on the default attributes and populates the ArrayList specified with XmlSchemaAttribute objects for any attributes with default values that have not been previously validated using the ValidateAttribute method in the element context.

public:
 void GetUnspecifiedDefaultAttributes(System::Collections::ArrayList ^ defaultAttributes);
public void GetUnspecifiedDefaultAttributes (System.Collections.ArrayList defaultAttributes);
member this.GetUnspecifiedDefaultAttributes : System.Collections.ArrayList -> unit
Public Sub GetUnspecifiedDefaultAttributes (defaultAttributes As ArrayList)

Parameters

defaultAttributes
ArrayList

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

Remarks

The GetUnspecifiedDefaultAttributes method must be called after validating all the attributes for the current element with the ValidateAttribute method. The GetUnspecifiedDefaultAttributes method should be used to determine what default attributes are to be inserted into the XML document being validated.

Applies to

See also