IListWebPart.ViewId property
取得或設定目前的 Web 組件的檢視識別項 (ID)。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Property ViewId As Integer
Get
Set
'用途
Dim instance As IListWebPart
Dim value As Integer
value = instance.ViewId
instance.ViewId = value
int ViewId { get; set; }
Property value
Type: System.Int32
識別目前的 Web 組件相關聯的檢視為 32 位元整數。