Rediger

Del via


AspNetHostingPermission.IsSubsetOf(IPermission) Method

Definition

Returns a value indicating whether the current permission is a subset of the specified permission.

public:
 override bool IsSubsetOf(System::Security::IPermission ^ target);
public override bool IsSubsetOf (System.Security.IPermission target);
override this.IsSubsetOf : System.Security.IPermission -> bool
Public Overrides Function IsSubsetOf (target As IPermission) As Boolean

Parameters

target
IPermission

The IPermission to combine with the current permission. It must be of the same type as the current IPermission.

Returns

true if the current IPermission is a subset of the specified IPermission; otherwise, false.

Exceptions

Applies to

See also