This documentation is archived and is not being maintained.
XmlReaderSettings.IgnoreComments Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets a value indicating whether to ignore comments.
Namespace:
System.Xml
Assembly:
System.Xml (in System.Xml.dll)
'Declaration
Public Property IgnoreComments As Boolean
Property Value
Type:
System.Booleantrue to ignore comments; otherwise false. The default is false.
Setting this property to true can result in multiple contiguous text nodes being returned from the reader. This does not affect validation.
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0