Skip to content

Fix incorrect UriBuilder.Scheme property documentation about valid schemes #11648

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions xml/System/UriBuilder.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1139,17 +1139,8 @@ The following example sets the <xref:System.UriBuilder.Query> property.
<format type="text/markdown"><![CDATA[

## Remarks
The following table lists the valid scheme names for the <xref:System.UriBuilder.Scheme> property.

|Scheme|Description|
|------------|-----------------|
|file|The resource is a file on the local computer.|
|ftp|The resource is accessed through FTP.|
|gopher|The resource is accessed through the Gopher protocol.|
|http|The resource is accessed through HTTP.|
|https|The resource is accessed through SSL-encrypted HTTP.|
|mailto|The resource is an email address and is accessed through SMTP.|
|news|The resource is accessed through NNTP.|

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 "-".

]]></format>
</remarks>
Expand Down