Xml.XMLDoc.TXMLNode.GetReadOnly

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetReadOnly: Boolean;

C++

bool __fastcall GetReadOnly();

Properties

Type Visibility Source Unit Parent
function protected
Xml.XMLDoc.pas
Xml.XMLDoc.hpp
Xml.XMLDoc TXMLNode

Description

Indicates whether the node can be modified.

GetReadOnly returns true if the node can't be modified. Read-only nodes raise an EXMLDocError exception when an attempt is made to change their value, child nodes, or attributes.

GetReadOnly returns false if the node can be modified.

Note: Use the ReadOnly property on the IXMLNode interface to specify whether a node is read-only.

See Also