Extensions.GetSchemaInfo Method (XAttribute)
Gets the post-schema-validation infoset (PSVI) of a validated attribute.
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
You can use the IXmlSchemaInfo returned by this method to determine certain characteristics of a validated attribute. For example, you can determine if the attribute came from a default attribute value in an XSD.
For an example of this property, see Validate.
Available since 3.5