Share via


WebPartGallerySource.InvalidateAfterAdd property

When overridden in a derived class, gets a value that indicates whether adding an item to the page invalidates any lists of items previously returned from GetItems().

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

Syntax

'Declaration
Public MustOverride ReadOnly Property InvalidateAfterAdd As Boolean
    Get
'Usage
Dim instance As WebPartGallerySource
Dim value As Boolean

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

Property value

Type: System.Boolean
true if adding an item to the page invalidates any lists of items previously returned from GetItems(); otherwise, false.

See also

Reference

WebPartGallerySource class

WebPartGallerySource members

Microsoft.SharePoint.WebPartPages namespace