SPView.PropertiesXml Property

Gets properties of the view, 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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Public ReadOnly Property PropertiesXml As String
Dim instance As SPView
Dim value As String

value = instance.PropertiesXml

Property Value

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

The PropertiesXml property returns a string in the following form:

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