共用方式為


ListViewWebPart.ListViewXml property

取得或設定 [清單] 檢視以 XML 格式。

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

Syntax

'宣告
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(False)> _
<RequiresDesignerPermissionAttribute> _
Public Property ListViewXml As String
    Get
    Set
'用途
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以 XML 格式的清單檢視。

備註

ListViewXml屬性是讀取/寫入。

請參閱

參照

ListViewWebPart class

ListViewWebPart members

Microsoft.SharePoint.WebPartPages namespace