共用方式為


PrintingPermissionAttribute(SecurityAction) 建構函式

定義

初始化 PrintingPermissionAttribute 類別的新執行個體。

public:
 PrintingPermissionAttribute(System::Security::Permissions::SecurityAction action);
public PrintingPermissionAttribute (System.Security.Permissions.SecurityAction action);
new System.Drawing.Printing.PrintingPermissionAttribute : System.Security.Permissions.SecurityAction -> System.Drawing.Printing.PrintingPermissionAttribute
Public Sub New (action As SecurityAction)

參數

action
SecurityAction

其中一個 SecurityAction 值。

適用於

另請參閱