ListViewWebPart.ListViewXml property
Gets or sets the list view in XML format.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(False)> _
<RequiresDesignerPermissionAttribute> _
Public Property ListViewXml As String
Get
Set
'Usage
Dim instance As ListViewWebPart
Dim value As String
value = instance.ListViewXml
instance.ListViewXml = value
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(false)]
[RequiresDesignerPermissionAttribute]
public string ListViewXml { get; set; }
Property value
Type: System.String
String List view in XML format.
Remarks
The ListViewXml property is read/write.