System.Xml.XmlWriterSettings.CheckCharacters Property

Gets or sets a value that indicates whether the XML writer should check to ensure that all characters in the document conform to the "2.2 Characters" section of the W3C tp://www.w3.org/TR/REC-xml/#charsets.

Syntax

public bool CheckCharacters { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

If the System.Xml.XmlWriter object supports character checking, it throws an exception if any characters are outside the range of legal XML characters specified by the "2.2 Characters" section of the W3C tp://www.w3.org/TR/REC-xml/#charsets.

Character checking does not include checking for illegal characters in XML names or checking that all XML names are valid. These checks are part of conformance checking and are always performed.

Requirements

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