語言

Uri.IsAbsoluteUri 屬性

定義

會得到一個值,表示該 Uri 實例是否為絕對。

public:
 property bool IsAbsoluteUri { bool get(); };
public bool IsAbsoluteUri { get; }
member this.IsAbsoluteUri : bool
Public ReadOnly Property IsAbsoluteUri As Boolean

屬性值

true若實Uri例為絕對;否則,。 false

備註

此特性是指 true 傳遞到建構子的字串或 Uri 實例可解析為包含 scheme、authority 與路徑的絕對 Uri 實例。 否則,該 Uri 實例會被視為相對的,可能會省略該方案或其他 URI 元件。

適用於