Skip to content

Commit 6a44eab

Browse files
authored
Fix incorrect UriBuilder.Scheme property documentation about valid schemes (#11648)
1 parent 7cf4de2 commit 6a44eab

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

xml/System/UriBuilder.xml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,17 +1139,8 @@ The following example sets the <xref:System.UriBuilder.Query> property.
11391139
<format type="text/markdown"><![CDATA[
11401140
11411141
## Remarks
1142-
The following table lists the valid scheme names for the <xref:System.UriBuilder.Scheme> property.
1143-
1144-
|Scheme|Description|
1145-
|------------|-----------------|
1146-
|file|The resource is a file on the local computer.|
1147-
|ftp|The resource is accessed through FTP.|
1148-
|gopher|The resource is accessed through the Gopher protocol.|
1149-
|http|The resource is accessed through HTTP.|
1150-
|https|The resource is accessed through SSL-encrypted HTTP.|
1151-
|mailto|The resource is an email address and is accessed through SMTP.|
1152-
|news|The resource is accessed through NNTP.|
1142+
1143+
The set accessor validates the scheme name for validity according to RFC 2396. The scheme name must begin with a letter and must contain only letters, digits, and the characters ".", "+", or "-".
11531144
11541145
]]></format>
11551146
</remarks>

0 commit comments

Comments
 (0)