共用方式為


SPListItem.Xml Property

Gets the data that is contained in the list item in XMLDATA format.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

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

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

Property Value

Type: System.String
A string that contains the item 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). Otherwise, everything in an XML document is a textual string.

See Also

Reference

SPListItem Class

SPListItem Members

Microsoft.SharePoint Namespace