Verifies whether all the required attributes in the element context are present and prepares the System.Xml.Schema.XmlSchemaValidator object to validate the child content of the element.
- schemaInfo
- An System.Xml.Schema.XmlSchemaInfo object whose properties are set on successful verification that all the required attributes in the element context are present. This parameter can be null.
The following are important notes to consider when using the XmlSchemaValidator.ValidateEndOfAttributes(XmlSchemaInfo) method.
The XmlSchemaValidator.GetUnspecifiedDefaultAttributes method should always be called before XmlSchemaValidator.ValidateEndOfAttributes(XmlSchemaInfo).
The XmlSchemaValidator.ValidateEndOfAttributes(XmlSchemaInfo) method must be called before proceeding with validation of an element's content.
If all the required attributes in the element context are present, the System.Xml.Schema.XmlSchemaInfo object's (if specified) XmlSchemaInfo.Validity property is set to XmlSchemaValidity.Valid.