Rule (package schema for Windows 8)
Specifies which pages in the web context have access to the system's geolocation devices (if the app has permission to access this capability) and access to the clipboard.
Element hierarchy
Syntax
<Rule Type = "include" | "exclude"
Match = A string between 1 and 2084 characters in length. />
Attributes and Elements
Attributes
Attribute | Description | Data type | Required | Default value |
---|---|---|---|---|
Match | The IRI to use in the rule. See RFC 3987 - Internationalized Resource Identifiers (IRIs) for details. It is unique per application in the package and is case sensitive. |
A string between 1 and 2084 characters in length. | Yes | |
Type | A string that specifies whether the rule is an inclusion or exclusion rule. |
This attribute can have one of the following values:
|
Yes |
Child Elements
None.
Parent Elements
Parent Element | Description |
---|---|
ApplicationContentUriRules | Specifies which pages in the web context have access to the system's geolocation devices (if the app has permission to access this capability) and access to the clipboard. |
Remarks
If more than one rule is defined, then the order of the rules is important.
Requirements
Value | |
---|---|
Namespace | http://schemas.microsoft.com/appx/2010/manifest |