Condividi tramite


SPList.PropertiesXml Property

Gets a fragment in Collaborative Application Markup Language Core Schemas that specifies property values for the list.

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

Syntax

'Declaration
Public ReadOnly Property PropertiesXml As String
    Get
'Usage
Dim instance As SPList
Dim value As String

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

Property Value

Type: System.String
A string that contains a CAML fragment that specifies property values.

Remarks

The PropertiesXml property returns a string in the following form.

<List DocTemplateUrl="" 
      DefaultViewUrl="/Site_Name/Lists/List_Title/AllItems.aspx" 
   ID="{E5E1A188-347A-40D3-8C7B-71D79F7FD3D3}" Title="List_Title" 
   Description="" ImageUrl="/_layouts/images/itgen.gif" 
   Name="{E5E1A188-347A-40D3-8C7B-71D79F7FD3D3}" BaseType="0" 
   ServerTemplate="100" Created="20030901 04:44:52" Modified="20030901 
      06:18:37" 
   LastDeleted="20030901 04:44:52" Version="2" Direction="none" 
      ThumbnailSize="" 
   WebImageWidth="" WebImageHeight="" Flags="4096" ItemCount="3" 
   AnonymousPermMask="" RootFolder="" ReadSecurity="1" 
      WriteSecurity="1" 
   Author="1" EventSinkAssembly="" EventSinkClass="" EventSinkData="" 
   EmailInsertsFolder="" AllowDeletion="True" 
      AllowMultiResponses="False" 
   EnableAttachments="True" EnableModeration="False" 
      EnableVersioning="False" 
   Hidden="False" MultipleDataList="False" Ordered="False" 
      ShowUser="True" />

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace