An array of System.Xml.Schema.XmlSchemaAttribute objects or an empty array if there are no expected attributes.
The following are important notes to consider when using the XmlSchemaValidator.GetExpectedAttributes method.
If the XmlSchemaValidator.GetExpectedAttributes method is called immediately after the erload:System.Xml.Schema.XmlSchemaValidator.ValidateElement method, all the attributes that could appear in the XML document are returned.
If the XmlSchemaValidator.GetExpectedAttributes method is called after one or more calls to the erload:System.Xml.Schema.XmlSchemaValidator.ValidateAttribute method, the attributes that haven't yet been validated for the current element are returned.