RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLNode.SetReadOnly Method

Specifies whether the node can be modified.

Pascal
procedure SetReadOnly(const Value: Boolean);
C++
__fastcall SetReadOnly(const Boolean Value);

SetReadOnly assigns the read-only status of the node.  

Value is the new read-only status of the node. When Value is true, the node raises an EXMLDocError exception when an attempt is made to change its value, child nodes, or attributes. When Value is false, the node can be modified. 

 

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