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)
Available in Sandboxed Solutions: No

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