XmlNode.IsReadOnly Property

Gets a value indicating whether the node is read-only.

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

public virtual bool IsReadOnly { get; }

Property Value

Type: System.Boolean
true if the node is read-only; otherwise false.

A read-only node is one whose properties, attributes, or child nodes cannot be changed. You can remove a read-only node from the tree and insert it somewhere else. For example, Entity nodes are always read-only.

This property is a Microsoft extension to the Document Object Model (DOM).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft