共用方式為


ListFormWebPart.ViewId property

取得或設定ListFormWebPart的檢視識別項 (ID)。

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

Syntax

'宣告
<WebPartStorageAttribute(Storage.None)> _
<WebBrowsableAttribute(False)> _
<BrowsableAttribute(False)> _
Public Property ViewId As Integer
    Get
    Set
'用途
Dim instance As ListFormWebPart
Dim value As Integer

value = instance.ViewId

instance.ViewId = value
[WebPartStorageAttribute(Storage.None)]
[WebBrowsableAttribute(false)]
[BrowsableAttribute(false)]
public int ViewId { get; set; }

Property value

Type: System.Int32
ListFormWebPart相關聯的檢視識別碼。

Implements

IListWebPart.ViewId

請參閱

參照

ListFormWebPart class

ListFormWebPart members

Microsoft.SharePoint.WebPartPages namespace