XamlAccessLevel Class
Defines access control to assemblies and types for purposes of XAML loading.
Assembly: System.Xaml (in System.Xaml.dll)
| Name | Description | |
|---|---|---|
![]() | AssemblyAccessToAssemblyName | Gets the AssemblyName of the assembly for which this XamlAccessLevel determines permissions. |
![]() | PrivateAccessToTypeName | Gets the unqualified string name of the type for which this XamlAccessLevel determines permissions. |
| Name | Description | |
|---|---|---|
![]() ![]() | AssemblyAccessTo(Assembly^) | Returns a XamlAccessLevel instance based on an assembly requested by Assembly. |
![]() ![]() | AssemblyAccessTo(AssemblyName^) | Returns a XamlAccessLevel instance based on an assembly requested by AssemblyName. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() ![]() | PrivateAccessTo(String^) | Returns a XamlAccessLevel instance based on a specific type specified by its qualified name. |
![]() ![]() | PrivateAccessTo(Type^) | Returns a XamlAccessLevel instance based on a specific type specified by Type. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
Static methods of XamlAccessLevel return instances of XamlAccessLevel, based on input. This is the only way to generate a XamlAccessLevel value (the constructor is private).
XamlAccessLevel is generally only used in conjunction with XamlLoadPermission.
Available since 4.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



