WebBrowserPermission.Level Property

Definition

Gets or sets the current value of the Web browser permission level.

public:
 property System::Security::Permissions::WebBrowserPermissionLevel Level { System::Security::Permissions::WebBrowserPermissionLevel get(); void set(System::Security::Permissions::WebBrowserPermissionLevel value); };
public System.Security.Permissions.WebBrowserPermissionLevel Level { get; set; }
member this.Level : System.Security.Permissions.WebBrowserPermissionLevel with get, set
Public Property Level As WebBrowserPermissionLevel

Property Value

The current value of the Web browser permission level.

Examples

The following code example shows how to retrieve the WebBrowserPermissionLevel value for the WebBrowserPermission.

WebBrowserPermissionLevel webBrowserPermissionLevel = webBrowserPermission.Level;
Dim webBrowserPermissionLevel As WebBrowserPermissionLevel = webBrowserPermission.Level

Remarks

XAML Attribute Usage

Members of this class are either not typically used in XAML, or cannot be used in XAML.

Applies to