XmlText.NodeValue Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the text associated with the node.
public:
property Platform::Object ^ NodeValue { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable NodeValue();
void NodeValue(IInspectable value);
public object NodeValue { get; set; }
var object = xmlText.nodeValue;
xmlText.nodeValue = object;
Public Property NodeValue As Object
Property Value
The text associated with the node.
Implements
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 |