This topic has not yet been rated - Rate this topic

SPWebPartManager.SetIsIncludedFilter Method

Sets an arbitrary string to determine whether a Web Part is authorized to be added to a page.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
public static void SetIsIncludedFilter(
	WebPart part,
	string value
)

Parameters

part
Type: System.Web.UI.WebControls.WebParts.WebPart
The Web Part for which the arbitrary string is being set.
value
Type: System.String
An arbitrary string to determine whether a Web Part is authorized to be added to a page.

This method sets a Web Part’s AuthorizationFilter property to value after validating that the value passed in is valid.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ