XamlLoadPermission::Includes Method (XamlAccessLevel^)
.NET Framework (current version)
Returns whether this XamlLoadPermission includes a specified XamlAccessLevel in its AllowedAccess list.
Assembly: System.Xaml (in System.Xaml.dll)
Parameters
- requestedAccess
-
Type:
System.Xaml.Permissions::XamlAccessLevel^
The specific XamlAccessLevel to check for.
Return Value
Type: System::Booleantrue if requestedAccess exists as an item in the AllowedAccess list of the current XamlLoadPermission. Otherwise, false.
| Exception | Condition |
|---|---|
| ArgumentNullException | requestedAccess is null. |
.NET Framework
Available since 4.0
Available since 4.0
Show: