SPList.PropertiesXml property

Gets a fragment in Collaborative Application Markup Language (CAML) schemas that specifies property values for the list.

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

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