System.Xml.Schema.XmlSchemaValidator.SkipToEndElement Method

Skips validation of the current element content and prepares the System.Xml.Schema.XmlSchemaValidator object to validate content in the parent element's context.

Syntax

public void SkipToEndElement (XmlSchemaInfo schemaInfo)

Parameters

schemaInfo
An System.Xml.Schema.XmlSchemaInfo object whose properties are set if the current element content is successfully skipped. This parameter can be null.

Remarks

The following are important notes to consider when using the XmlSchemaValidator.SkipToEndElement(XmlSchemaInfo) method.

Note:

No validation errors are reported on skipped content.

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