WebPartAuthorizationEventArgs(Type, String, String, Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the WebPartAuthorizationEventArgs class.
public:
WebPartAuthorizationEventArgs(Type ^ type, System::String ^ path, System::String ^ authorizationFilter, bool isShared);
public WebPartAuthorizationEventArgs (Type type, string path, string authorizationFilter, bool isShared);
new System.Web.UI.WebControls.WebParts.WebPartAuthorizationEventArgs : Type * string * string * bool -> System.Web.UI.WebControls.WebParts.WebPartAuthorizationEventArgs
Public Sub New (type As Type, path As String, authorizationFilter As String, isShared As Boolean)
Parameters
- path
- String
The relative application path to the source file for the control being authorized, if the control is a user control.
- authorizationFilter
- String
An arbitrary string value assigned to the AuthorizationFilter property of a WebPart control, used for authorizing whether a control can be added to a page.
- isShared
- Boolean
Indicates whether the control being checked for authorization is a shared control, meaning that it is visible to many or all users of the application, and its IsShared property value is set to true
.