IgnoreProcessingInstructions Property

XmlReaderSettings.IgnoreProcessingInstructions 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 processing instructions.

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

public bool IgnoreProcessingInstructions { get; set; }

Property Value

Type: System.Boolean
true to ignore processing instructions; 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

Windows Phone

Show:
© 2017 Microsoft