RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLNode.GetReadOnly Method

Indicates whether the node can be modified.

Pascal
function GetReadOnly: Boolean;
C++
__fastcall Boolean GetReadOnly();

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.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!