System.Xml.Schema.XmlSchemaValidator.Initialize Method

Initializes the state of the System.Xml.Schema.XmlSchemaValidator object using the System.Xml.Schema.XmlSchemaObject specified for partial validation.

Syntax

public void Initialize (XmlSchemaObject partialValidationType)

Parameters

partialValidationType
An System.Xml.Schema.XmlSchemaElement, System.Xml.Schema.XmlSchemaAttribute, or System.Xml.Schema.XmlSchemaType object used to initialize the validation context of the System.Xml.Schema.XmlSchemaValidator object for partial validation.

Remarks

The XmlSchemaValidator.Initialize(XmlSchemaObject) method that takes an System.Xml.Schema.XmlSchemaObject as a parameter initializes an System.Xml.Schema.XmlSchemaValidator object to its starting state for partial validation.

Requirements

Namespace: System.Xml.Schema
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0