Share via


SPList.GetPropertiesXmlForUncustomizedViews method

Returns properties of the uncustomized views of the list, including the GUID, the type, the display name, the URL, and the ID of the base view.

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

Syntax

'Declaration
Public Function GetPropertiesXmlForUncustomizedViews As String
'Usage
Dim instance As SPList
Dim returnValue As String

returnValue = instance.GetPropertiesXmlForUncustomizedViews()
public string GetPropertiesXmlForUncustomizedViews()

Return value

Type: System.String
A string that contains a Collaborative Application Markup Language (CAML) schemas fragment that specifies the properties.

Remarks

The GetPropertiesXmlForUncustomizedViews property returns a string in the following form.

<View Name="{7591FC7D-8304-42C7-9456-09F4241AC6F8}" 
   Type="HTML" DisplayName="View_Name" 
   Url="Lists/List_Title/File_Name.aspx" 
   BaseViewID="1" />

See also

Reference

SPList class

SPList members

Microsoft.SharePoint namespace