XamlAccessLevel Class

.NET Framework (current version)
 

Defines access control to assemblies and types for purposes of XAML loading.

Namespace:   System.Xaml.Permissions
Assembly:  System.Xaml (in System.Xaml.dll)

System.Object
  System.Xaml.Permissions.XamlAccessLevel

[SerializableAttribute]
public class XamlAccessLevel

NameDescription
System_CAPS_pubpropertyAssemblyAccessToAssemblyName

Gets the AssemblyName of the assembly for which this XamlAccessLevel determines permissions.

System_CAPS_pubpropertyPrivateAccessToTypeName

Gets the unqualified string name of the type for which this XamlAccessLevel determines permissions.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAssemblyAccessTo(Assembly)

Returns a XamlAccessLevel instance based on an assembly requested by Assembly.

System_CAPS_pubmethodSystem_CAPS_staticAssemblyAccessTo(AssemblyName)

Returns a XamlAccessLevel instance based on an assembly requested by AssemblyName.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticPrivateAccessTo(String)

Returns a XamlAccessLevel instance based on a specific type specified by its qualified name.

System_CAPS_pubmethodSystem_CAPS_staticPrivateAccessTo(Type)

Returns a XamlAccessLevel instance based on a specific type specified by Type.

System_CAPS_pubmethodToString()

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.

.NET Framework
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.

Return to top
Show: