閱讀英文

共用方式為


UriPartial 列舉

定義

定義 GetLeftPart(UriPartial) 方法 URI 的部分。

C#
public enum UriPartial
繼承
UriPartial

欄位

Authority 1

URI 的配置和授權區段。

Path 2

URI 的配置、授權和路徑區段。

Query 3

URI 的配置、授權和、路徑和查詢區段。

Scheme 0

URI 的配置區段。

備註

列舉 UriPartial 定義可傳遞至 Uri.GetLeftPart 方法的值。

適用於

產品 版本
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8
.NET Standard 2.0, 2.1