AspNetHostingPermission.IsSubsetOf(IPermission) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
target
is not an AspNetHostingPermission.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.