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

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