System.Xml.XmlReaderSettings.IgnoreComments Property

Gets or sets a value indicating whether to ignore comments.

Syntax

public bool IgnoreComments { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Setting this property to true can result in multiple contiguous text nodes being returned from the reader. This does not affect validation.

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