ListViewWebPart.ListViewXml Property

Gets or sets the list view in XML format.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<BrowsableAttribute(False)> _
<RequiresDesignerPermissionAttribute> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property ListViewXml As String
    Get
    Set
'Usage
Dim instance As ListViewWebPart
Dim value As String

value = instance.ListViewXml

instance.ListViewXml = value
[BrowsableAttribute(false)]
[RequiresDesignerPermissionAttribute]
[WebPartStorageAttribute(Storage.Shared)]
public string ListViewXml { get; set; }

Property Value

Type: System.String
String List view in XML format.

Remarks

The ListViewXml property is read/write.

See Also

Reference

ListViewWebPart Class

ListViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace