XmlDocument.IsReadOnly Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

override IsReadOnly : bool with get

Property Value

Type: System.Boolean

true if the current node is read-only; otherwise false. XmlDocument nodes always return false.

A read-only node is one whose properties, attributes, or children cannot be changed. You can remove a read-only node from the tree and insert it somewhere else.

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

The following example shows how to use the IsReadOnly property.

No code example is currently available or this language may not be supported.

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