Mono Class Library: System.Uri Overview | Members

System.Uri.IsReservedCharacter Method

Returns a bool value that indicates whether a character is part of the URI reserved set.

[System.Obsolete]
protected virtual bool IsReservedCharacter (char ch)

Parameters

ch
Documentation for this section has not yet been entered.

Returns

true if character is a URI reserved character as defined by IETF RFC 2396; otherwise, false.

Remarks

The following characters are reserved for the use in URI:

CharacterDescription
;Semi-colon.
/ Forward slash.
:Colon.
@At sign (commercial at).
&Ampersand.
=Equals sign.
+Plus sign.
$US Dollar sign.
,Comma.

Operation
As described above.

Note to Inheritors
Override this method to customize the escaping behavior provided by the Uri type.

Usage
Use this method to determine if a character is reserved.

Requirements

Namespace: System
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0