GenericUriParserOptions Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

Specifies options for a UriParser.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace: System
Assembly: System (in system.dll)

<FlagsAttribute> _
Public Enumeration GenericUriParserOptions
Dim instance As GenericUriParserOptions

/** @attribute FlagsAttribute() */ 
public enum GenericUriParserOptions
public enum GenericUriParserOptions

 Member nameDescription
Supported by the .NET Compact FrameworkAllowEmptyAuthorityThe parser allows a URI with no authority. 
Supported by the .NET Compact FrameworkDefaultThe parser: 
  • requires an authority

  • converts back slashes into forward slashes

  • unescapes path dots, forward slashes, and back slashes

Supported by the .NET Compact FrameworkDontCompressPathThe parser does not canonicalize the URI. 
Supported by the .NET Compact FrameworkDontConvertPathBackslashesThe parser does not convert back slashes into forward slashes. 
Supported by the .NET Compact FrameworkDontUnescapePathDotsAndSlashesThe parser does not unescape path dots, forward slashes, or back slashes. 
Supported by the .NET Compact FrameworkGenericAuthorityThe parser allows a registry-based authority. 
Supported by the .NET Compact FrameworkNoFragmentThe scheme does not define a fragment part. 
Supported by the .NET Compact FrameworkNoPortThe scheme does not define a port. 
Supported by the .NET Compact FrameworkNoQueryThe scheme does not define a query part. 
Supported by the .NET Compact FrameworkNoUserInfoThe scheme does not define a user information part. 

You can combine any of these options to configure a generic URI parser by passing the options as a parameter to the System.GenericUriParser constructor.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

.NET Compact Framework

Supported in: 2.0