語言

Uri.Canonicalize 方法

定義

警告

Uri.Canonicalize has been deprecated and is not supported.

警告

The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202

警告

The method has been deprecated. It is not used by the system. http://go.microsoft.com/fwlink/?linkid=14202

將內部儲存的 URI 轉換為標準形式。

protected:
 virtual void Canonicalize();
[System.Obsolete("Uri.Canonicalize has been deprecated and is not supported.")]
protected virtual void Canonicalize();
[System.Obsolete("The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual void Canonicalize();
[System.Obsolete("The method has been deprecated. It is not used by the system. http://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual void Canonicalize();
protected virtual void Canonicalize();
[<System.Obsolete("Uri.Canonicalize has been deprecated and is not supported.")>]
abstract member Canonicalize : unit -> unit
override this.Canonicalize : unit -> unit
[<System.Obsolete("The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member Canonicalize : unit -> unit
override this.Canonicalize : unit -> unit
[<System.Obsolete("The method has been deprecated. It is not used by the system. http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member Canonicalize : unit -> unit
override this.Canonicalize : unit -> unit
abstract member Canonicalize : unit -> unit
override this.Canonicalize : unit -> unit
Protected Overridable Sub Canonicalize ()
屬性

例外狀況

此實例代表相對 URI,且此方法僅適用於絕對 URI。

URI 形成錯誤。

備註

內部儲存標準版本的 URI。

適用於