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 值之一。

适用于

另请参阅