WebPartAdder.RecommendSiteTemplate property

Gets or sets a flag that indicates whether the current site template name will be used as an additional WebPartAdder.Selector for recommended items.

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

Syntax

'Declaration
Public Property RecommendSiteTemplate As Boolean
    Get
    Set
'Usage
Dim instance As WebPartAdder
Dim value As Boolean

value = instance.RecommendSiteTemplate

instance.RecommendSiteTemplate = value
public bool RecommendSiteTemplate { get; set; }

Property value

Type: System.Boolean
true if the current site template name will be used as an additional WebPartAdder.Selector for recommended items; otherwise, false. The default is true.

See also

Reference

WebPartAdder class

WebPartAdder members

Microsoft.SharePoint.WebPartPages namespace