WebPartAuthorizationEventArgs(Type, String, String, Boolean) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 WebPartAuthorizationEventArgs 类的新实例。
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)
参数
- path
- String
如果控件是用户控件,则为要授权的控件的源文件的相对应用程序路径。
- authorizationFilter
- String
分配给控件属性的AuthorizationFilterWebPart任意字符串值,用于授权是否可以将控件添加到页面。