ResourcePermissionBase.Copy 方法

定义

创建并返回与当前权限对象相同的副本。Creates and returns an identical copy of the current permission object.

public:
 override System::Security::IPermission ^ Copy();
public override System.Security.IPermission Copy ();
override this.Copy : unit -> System.Security.IPermission
Public Overrides Function Copy () As IPermission

返回

IPermission

当前权限对象的副本。A copy of the current permission object.

注解

权限对象的副本表示与原始权限对象相同的资源访问权限。A copy of the permission object represents the same access to resources as the original permission object.

适用于