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

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show: