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)

[ObsoleteAttribute("Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation. http://go.microsoft.com/fwlink/?linkid=14202")]
public 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: