WebBrowserPermission.IsUnrestricted Method

Definition

Returns a value indicating whether the current permission is unrestricted.

public:
 virtual bool IsUnrestricted();
public bool IsUnrestricted ();
abstract member IsUnrestricted : unit -> bool
override this.IsUnrestricted : unit -> bool
Public Function IsUnrestricted () As Boolean

Returns

true if the Level property is set to Unrestricted; otherwise, false.

Implements

Examples

The following code example shows how to use the IsUnrestricted method.

bool isUnrestricted = webBrowserPermission.IsUnrestricted();
Dim isUnrestricted As Boolean = webBrowserPermission.IsUnrestricted()

Remarks

An unrestricted permission represents access to any and all resources protected by the permission.

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

Applies to