[This is preliminary documentation and is subject to change.]

Gets the navigation filtering rule for the specified url string.

Namespace: Awesomium.Core
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version: 1.7.0.5 (1.7.0.5)

Syntax

C#
NavigationRule GetRule(
	string url
)
Visual Basic
Function GetRule ( _
	url As String _
) As NavigationRule
Visual C++
NavigationRule GetRule(
	String^ url
)

Parameters

url
Type: System..::..String
The resource name or URL address to be matched against the rules specified.

Return Value

The returned value depends on the ImplicitRule setting:
ImplicitRule Setting Return Value
AllowAllow if the url matches a navigation filter that has been applied the Allow rule, or if the url does not match a filter that has been explicitly applied the Deny rule, or if the url pattern does not match any navigation filtering rule; Deny otherwise.
DenyDeny if the url matches a navigation filter that has been applied the Deny rule, or if the url does not match a filter that has been explicitly applied the Allow rule, or if the url pattern does not match any navigation filtering rule; Allow otherwise.

See Also