System.Xml.Schema.XmlSchemaValidator.ValidateEndElement Method

Verifies if the text content of the element is valid according to its data type for elements with simple content, and verifies if the content of the current element is complete for elements with complex content.

Syntax

public object ValidateEndElement (XmlSchemaInfo schemaInfo)

Parameters

schemaInfo
An System.Xml.Schema.XmlSchemaInfo object whose properties are set on successful validation of the element. This parameter can be null.

Returns

The parsed, typed text value of the element if the element has simple content.

Remarks

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

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