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
一個任意字串值,指派給 AuthorizationFilter 控制項的屬性 WebPart ,用於授權是否可以向頁面新增控制項。