XMLNode.NodeValue Property

Returns or sets a String that represents the value of an attribute.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property NodeValue As String
    Get
    Set
'Usage
Dim instance As XMLNode
Dim value As String

value = instance.NodeValue

instance.NodeValue = value
string NodeValue { get; set; }

Property Value

Type: System.String

Remarks

A XMLNode object can be either an XML element or an attribute of an element. Use the NodeType property to determine which type of node you are working with.

For XMLNode objects with a NodeType value of wdXMLNodeElement, the NodeValue property returns nothing.

See Also

Reference

XMLNode Interface

XMLNode Members

Microsoft.Office.Interop.Word Namespace