Edit

Share via


XMLNode.NodeValue Property

Definition

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

public:
 property System::String ^ NodeValue { System::String ^ get(); void set(System::String ^ value); };
public string NodeValue { get; set; }
member this.NodeValue : string with get, set
Public Property NodeValue As String

Property Value

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.

Applies to