This documentation is archived and is not being maintained.

XmlNode.IsReadOnly Property

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

[Visual Basic]
Public Overridable ReadOnly Property IsReadOnly As Boolean
public virtual bool IsReadOnly {get;}
public: __property virtual bool get_IsReadOnly();
public function get IsReadOnly() : Boolean;

Property Value

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


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

XmlNode Class | XmlNode Members | System.Xml Namespace