System.Xml.Schema.XmlSchemaValidator.ValidateText Method

Validates whether the text string specified is allowed in the current element context, and accumulates the text for validation if the current element has simple content.

Syntax

public void ValidateText (string elementValue)

Parameters

elementValue
A text string to validate in the current element context.

Remarks

The following are important notes to consider when using the XmlSchemaValidator.ValidateText(string) 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