System.Xml.XmlNode.IsReadOnly Property

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

Syntax

public virtual bool IsReadOnly { get; }

Value

Whether the node is read-only.

Remarks

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).

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0