Extensions::GetSchemaInfo Method
Gets the post-schema-validation infoset (PSVI) of a validated node.
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | GetSchemaInfo(XAttribute^) | Gets the post-schema-validation infoset (PSVI) of a validated attribute. |
![]() ![]() | GetSchemaInfo(XElement^) | Gets the post-schema-validation infoset (PSVI) of a validated element. |
After you have validated an XDocument, you can retrieve the post-schema-validation infoset for an XElement or XAttribute that is contained in the document.
After retrieving the IXmlSchemaInfo object, you can use the SchemaAttribute or SchemaElement properties to get a partial validation type (XmlSchemaElement or XmlSchemaAttribute). You can use the partial validation types to validate an attribute or a sub-tree.

