Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Extensions::GetSchemaInfo Method

 

Gets the post-schema-validation infoset (PSVI) of a validated node.

Namespace:   System.Xml.Schema
Assembly:  System.Xml.Linq (in System.Xml.Linq.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetSchemaInfo(XAttribute^)

Gets the post-schema-validation infoset (PSVI) of a validated attribute.

System_CAPS_pubmethodSystem_CAPS_staticGetSchemaInfo(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.

Return to top
Show:
© 2017 Microsoft