Selection.XML Property

Returns a String that represents the XML text in the specified object.

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

string this[
	bool DataOnly
] { get; }

Parameters

DataOnly
Type: System.Boolean
Optional Boolean. True returns the text of the XML without the Word XML markup. The default setting is False.

Property Value

Type: System.String
Show: