Source.XML Property
Returns a String that represents the XML markup for a Source object. Read-only.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
ReadOnly Property XML As String
Get
'Usage
Dim instance As Source
Dim value As String
value = instance.XML
string XML { get; }
Property Value
Type: System.String
String
Remarks
The Data parameter of the Add(String) method for the Sources object requires a valid XML string that contains data for the necessary elements. Depending on the type of source that you add, the XML may change. To determine what the correct XML needs to be for a specific type of source, create a source through the Create Source dialog box, and then use the XML property to return the correct XML syntax.