Share via


XmlReaderSettings.IgnoreComments Property

Gets or sets a value indicating whether to ignore comments.

Namespace: System.Xml
Assembly: System.Xml (in system.xml.dll)

Syntax

public bool IgnoreComments { get; set; }

Property Value

true to ignore comments; otherwise false. The default is false.

Version Information

Available in the .NET Micro Framework versions 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

XmlReaderSettings Class
XmlReaderSettings Members
System.Xml Namespace