Uri.Canonicalize Uri.Canonicalize Uri.Canonicalize Uri.Canonicalize Method

Definition

Warning

This API is now obsolete.

Converts the internally stored URI to canonical form.

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")]
[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 ();
abstract member Canonicalize : unit -> unit
override this.Canonicalize : unit -> unit
Protected Overridable Sub Canonicalize ()

Exceptions

This instance represents a relative URI, and this method is valid only for absolute URIs.

Remarks

Stores the canonical version of the URI internally.

Applies to