Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

XMLNode.Text Property 

Returns or sets a String that represents the text displayed for an XML element.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Dim xMLNode1 As XMLNode

Dim returnValue As String
returnValue = xMLNode1.Text

Dim sampleValue As String
xMLNode1.Text = sampleValue

string Text {get; set;}
public System.String get_Text();
public void set_Text(System.String);
function get Text() : String;
function set Text(String);

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

© 2015 Microsoft