共用方式為


Uri.Canonicalize 方法

定義

警告

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

警告

Uri.Canonicalize has been deprecated and is not supported.

警告

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("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("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. http://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual void Canonicalize ();
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")>]
abstract member Canonicalize : unit -> unit
override this.Canonicalize : unit -> unit
[<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. 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 標準版本。

適用於