共用方式為


ListFormWebPart.ListName property

取得或設定項目名稱。

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

Syntax

'宣告
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(False)> _
Public Property ListName As String
    Get
    Set
'用途
Dim instance As ListFormWebPart
Dim value As String

value = instance.ListName

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

Property value

Type: System.String
String此 Web 組件所顯示的清單的名稱。

備註

ListName屬性是讀取/寫入。

請參閱

參照

ListFormWebPart class

ListFormWebPart members

Microsoft.SharePoint.WebPartPages namespace