Skip to content

enhancements #2025

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 4 commits into from
Apr 10, 2019
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
21 changes: 14 additions & 7 deletions xml/System/UriKind.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,19 @@
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Docs>
<summary>Defines the kinds of <see cref="T:System.Uri" />s for the <see cref="M:System.Uri.IsWellFormedUriString(System.String,System.UriKind)" /> and several <see cref="Overload:System.Uri.#ctor" /> methods.</summary>
<summary>Defines the different kinds of URIs.</summary>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks
Absolute URIs are characterized by a complete reference to the resource (example: http://www.contoso.com/index.html), while a relative Uri depends on a previously defined base URI (example: /index.html).
## Remarks

Absolute URIs are characterized by a complete reference to the resource (example: `http://www.contoso.com/index.html`), while a relative URI depends on a previously defined base URI (example: `/index.html`).

The following list shows some APIs that use the `UriKind` enum:

* <xref:System.Uri.%23ctor(System.String,System.UriKind)?displayProperty=nameWithType>
* <xref:System.Uri.IsWellFormedUriString(System.String,System.UriKind)?displayProperty=nameWithType>
* <xref:System.Uri.TryCreate(System.String,System.UriKind,System.Uri%40)?displayProperty=nameWithType>

]]></format>
</remarks>
Expand Down Expand Up @@ -71,7 +78,7 @@
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>The Uri is an absolute Uri.</summary>
<summary>The URI is absolute.</summary>
</Docs>
</Member>
<Member MemberName="Relative">
Expand Down Expand Up @@ -106,7 +113,7 @@
</ReturnValue>
<MemberValue>2</MemberValue>
<Docs>
<summary>The Uri is a relative Uri.</summary>
<summary>The URI is relative.</summary>
</Docs>
</Member>
<Member MemberName="RelativeOrAbsolute">
Expand Down Expand Up @@ -141,8 +148,8 @@
</ReturnValue>
<MemberValue>0</MemberValue>
<Docs>
<summary>The kind of the Uri is indeterminate.</summary>
<summary>The URI kind is indeterminate.</summary>
</Docs>
</Member>
</Members>
</Type>
</Type>