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.

XmlSchema::Compile Method (ValidationEventHandler^)

 
Note: This API is now obsolete.

Compiles the XML Schema Object Model (SOM) into schema information for validation. Used to check the syntactic and semantic structure of the programmatically built SOM. Semantic validation checking is performed during compilation.

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

public:
[ObsoleteAttribute("Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. http://go.microsoft.com/fwlink/?linkid=14202")]
void Compile(
	ValidationEventHandler^ validationEventHandler
)

Parameters

validationEventHandler
Type: System.Xml.Schema::ValidationEventHandler^

The validation event handler that receives information about XML Schema validation errors.

System_CAPS_importantImportant

The Compile method is obsolete in the Microsoft .NET Framework version 2.0 and has been replaced by the XmlSchemaSet::Compile method.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft