Xml.XMLDoc.TXMLNode.SetReadOnly
Delphi
procedure SetReadOnly(const Value: Boolean);
C++
void __fastcall SetReadOnly(const bool Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Xml.XMLDoc.pas Xml.XMLDoc.hpp |
Xml.XMLDoc | TXMLNode |
Description
Specifies whether the node can be modified.
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.