Share via


WebPartGalleryItem.IsRecommended property

When overridden in a derived class, gets a value that indicates whether the item is recommended for the current page.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property IsRecommended As Boolean
    Get
'Usage
Dim instance As WebPartGalleryItem
Dim value As Boolean

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

Property value

Type: System.Boolean
true if the item is recommended for the current page; otherwise, false.

See also

Reference

WebPartGalleryItem class

WebPartGalleryItem members

Microsoft.SharePoint.WebPartPages namespace