WebPart.IsIncluded property
NOTE: This API is now obsolete.
取得或設定一個值,指出是否應該包含由另一位使用者或管理員共用的網頁組件頁面的檢視中新增網頁組件] 頁面上的個人檢視中。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ObsoleteAttribute("Use IsClosed instead.")> _
<WebPartStorageAttribute(Storage := Storage.Personal)> _
Public Property IsIncluded As Boolean
Get
Set
'用途
Dim instance As WebPart
Dim value As Boolean
value = instance.IsIncluded
instance.IsIncluded = value
[ObsoleteAttribute("Use IsClosed instead.")]
[WebPartStorageAttribute(Storage = Storage.Personal)]
public bool IsIncluded { get; set; }
Property value
Type: System.Boolean
true包含 ; [網頁組件時否則, false.預設值是由true.
備註
此屬性可以由個別使用者個人化。其WebPartStorageAttribute值為Storage.Personal,這會指定的屬性可以儲存每個使用者為基礎。僅使用正確的個人化網頁組件頁面的使用者可以設定這個屬性。以程式設計方式設定,或者它可以設定透過 [網頁組件] 工作窗格,在個人檢視中的 Web 型使用者介面中,或使用SharePoint Foundation-相容的 HTML 編輯器,例如SharePoint Designer。