IXmlNode.NodeValue property
Gets or sets the text associated with the node.
Syntax
Property value
Type: System.Object [.NET] | Platform::Object [C++]
The text associated with the node.
Remarks
This value depends on the NodeType property. The following table describes this dependency.
| NodeType | NodeValue |
|---|---|
| Element | Null |
| Attribute | Value of attribute |
| Text | Content of the text node |
| CDATASection | Content of the CDATA Section |
| EntityReference | NULL |
| Entity | NULL |
| ProcessingInstruction | Entire content excluding the target |
| Comment | Content of the comment |
| Document | NULL |
| DocumentType | NULL |
| DocumentFragment | NULL |
| Notation | NULL |
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012
