編輯

共用方式為


XamlLoadPermission.AllowedAccess Property

Definition

Gets the list of all XamlAccessLevel values that this XamlLoadPermission represents.

public:
 property System::Collections::Generic::IList<System::Xaml::Permissions::XamlAccessLevel ^> ^ AllowedAccess { System::Collections::Generic::IList<System::Xaml::Permissions::XamlAccessLevel ^> ^ get(); };
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public System.Collections.Generic.IList<System.Xaml.Permissions.XamlAccessLevel> AllowedAccess { get; }
public System.Collections.Generic.IList<System.Xaml.Permissions.XamlAccessLevel> AllowedAccess { get; }
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
member this.AllowedAccess : System.Collections.Generic.IList<System.Xaml.Permissions.XamlAccessLevel>
member this.AllowedAccess : System.Collections.Generic.IList<System.Xaml.Permissions.XamlAccessLevel>
Public ReadOnly Property AllowedAccess As IList(Of XamlAccessLevel)

Property Value

A read-only list of XamlAccessLevel values, or null.

Attributes

Remarks

If the current XamlLoadPermission is initialized such that IsUnrestricted is true, AllowedAccess may be null.

Applies to