SPListItemCollection.Xml property

Gets all the data in the collection in XMLDATA format.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property Xml As String
    Get
'Usage
Dim instance As SPListItemCollection
Dim value As String

value = instance.Xml
public string Xml { get; }

Property value

Type: System.String
A string that contains the data in XMLDATA format.

Remarks

The XMLDATA format specifies XML data type information that can be used where data types are necessary (for example, in handling numeric expressions). If not specified as XMLDATA, everything in an XML document is a textual string.

See also

Reference

SPListItemCollection class

SPListItemCollection members

Microsoft.SharePoint namespace