共用方式為


WebPartGallerySource.InvalidateAfterAdd property

當在衍生類別中覆寫時,取得值,指出是否將項目加入至網頁失效任何先前從GetItems()傳回的項目清單中。

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

Syntax

'宣告
Public MustOverride ReadOnly Property InvalidateAfterAdd As Boolean
    Get
'用途
Dim instance As WebPartGallerySource
Dim value As Boolean

value = instance.InvalidateAfterAdd
public abstract bool InvalidateAfterAdd { get; }

Property value

Type: System.Boolean
true如果將項目加入至網頁使失效,任何先前從GetItems(); 傳回的項目清單否則, false。

請參閱

參照

WebPartGallerySource class

WebPartGallerySource members

Microsoft.SharePoint.WebPartPages namespace