IllegalCharacterFlags Enum
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.
Enumerates values returned by several methods of IllegalCharacterFlags and taken as a parameter of the F:Android.Net.UrlQuerySanitizer+IllegalCharacterValueSanitizer..ctor member.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum IllegalCharacterFlags
[<System.Flags>]
type IllegalCharacterFlags =
- Inheritance
-
IllegalCharacterFlags
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| AllIllegal | 0 | Deny all special characters; Deny script URLs. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| SpaceLegal | 1 | Allow space; Deny script URLs. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| SpaceOk | 1 | Allow space (' ') characters. |
| OtherWhitespaceOk | 2 | Allow whitespace characters other than space. |
| AllWhitespaceOk | 3 | Mask with both regular space and other whitespace OK Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Non7BitAsciiOk | 4 | Allow characters with character codes 128 to 255. |
| DquoteOk | 8 | Allow double quote characters. |
| SquoteOk | 16 | Allow single quote characters. |
| LtOk | 32 | Allow less-than characters. |
| GtOk | 64 | Allow greater-than characters. |
| AmpLegal | 128 | Allow ampersand; Deny script URLs. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| AmpOk | 128 | Allow ampersand characters ('&') Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| AmpAndSpaceLegal | 129 | Allow ampersand; Allow space; Deny script URLs. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| PctOk | 256 | Allow percent-sign characters ('%') Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| UrlLegal | 404 | Allow characters used by encoded URLs; Deny script URLs. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| UrlAndSpaceLegal | 405 | Allow characters used by encoded URLs; Allow spaces; Deny script URLs. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| NulOk | 512 | Allow nul characters ('\0') Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ScriptUrlOk | 1024 | Allow text to start with a script URL such as "javascript:" or "vbscript:" Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| AllButNulAndAngleBracketsLegal | 1439 | |
| AllButWhitespaceLegal | 1532 | Allow all special characters except for:; whitespace characters; Nul ('\0'); Allow script URLs. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| AllButNulLegal | 1535 | Allow all special characters except Nul. ('\0'); Allow script URLs. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| AllOk | 2047 | Mask with all fields set to OK Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.