WebBrowserPermission.Level Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Members of this class are either not typically used in XAML, or cannot be used in XAML.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.