Xml.XMLDoc.TXMLNode.GetReadOnly
Delphi
function GetReadOnly: Boolean;
C++
bool __fastcall GetReadOnly(void);
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.