This documentation is archived and is not being maintained.

WebBrowserPermission.Level Property

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

Namespace: System.Security.Permissions
Assembly: WindowsBase (in windowsbase.dll)

public WebBrowserPermissionLevel Level { get; set; }
/** @property */
public WebBrowserPermissionLevel get_Level ()

/** @property */
public void set_Level (WebBrowserPermissionLevel value)

public function get Level () : WebBrowserPermissionLevel

public function set Level (value : WebBrowserPermissionLevel)

<object Level="WebBrowserPermissionLevel" .../>

Property Value

The current value of the Web browser permission level.

XAML Attribute Usage

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

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

WebBrowserPermissionLevel webBrowserPermissionLevel = webBrowserPermission.Level;

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0