Export (0) Print
Expand All

WebBrowserPermission Constructor (WebBrowserPermissionLevel)

Initializes a new instance of the WebBrowserPermission class by specifying the Web browser permission level.

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

Public Sub New ( _
	webBrowserPermissionLevel As WebBrowserPermissionLevel _


Type: System.Security.Permissions.WebBrowserPermissionLevel

An enumerated value of WebBrowserPermissionLevel.

The following code example shows how to create a WebBrowserPermission with a WebBrowserPermissionLevel value.

			Dim webBrowserPermission As New WebBrowserPermission(WebBrowserPermissionLevel.None)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft