WebPartAuthorizationEventArgs Constructor

Note: This constructor is new in the .NET Framework version 2.0.

Initializes a new instance of the WebPartAuthorizationEventArgs class.

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in system.web.dll)

public:
WebPartAuthorizationEventArgs (
	Type^ type, 
	String^ path, 
	String^ authorizationFilter, 
	bool isShared
)
public WebPartAuthorizationEventArgs (
	Type type, 
	String path, 
	String authorizationFilter, 
	boolean isShared
)
public function WebPartAuthorizationEventArgs (
	type : Type, 
	path : String, 
	authorizationFilter : String, 
	isShared : boolean
)

Parameters

type

The Type of the control being checked for authorization.

path

The relative application path to the source file for the control being authorized, if the control is a user control.

authorizationFilter

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

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: