RAD Studio VCL Reference
|
Specifies the value of this node.
property NodeValue: OleVariant;
__property OleVariant NodeValue;
Use NodeValue to get or set the value of the node. The meaning of a node's value depends on the type of the node, as indicated in the following table:
Value | |
ntAttribute |
The attribute value |
ntElement |
If the element contains only text, this is that text value. Otherwise, trying to read or set NodeValue causes an exception. |
ntText |
The text |
ntCData |
The content of the CDATA section. |
ntProcessingInstr |
The content of the processing instruction except for the target. |
ntComment |
The value (text) of the comment. |
Trying to read or set the value of any other node type causes an exception.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|