Url Class
Provides an object representation of a universal identifier (URL).
Inheritance Hierarchy

Namespace: Aspose.Html
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.9
Syntax
public class Url : DOMObject

The Url type exposes the following members.

Constructors
  NameDescription
Public methodUrl(String)
Initializes a new instance of the Url with the specified URL.
Public methodUrl(String, String)
Initializes a new instance of the Url with the specified URL and base URL.
Properties
  NameDescription
Public propertyHash
Gets or sets a string representation for the specified URL hash segment.
Public propertyHost
Gets or sets a string representation for the specified URL host.
Public propertyHostname
Gets or sets a string representation for the specified URL hostname.
Public propertyHref
Gets or sets a serialized representation for the specified URL instance.
Public propertyOrigin
Gets a string representation for the specified URL origin.
Public propertyPassword
Gets or sets a string representation for the specified URL password.
Public propertyPathname
Gets or sets a string representation for the specified URL path.
Public propertyPort
Gets or sets a string representation for the specified URL port.
Public propertyProtocol
Gets or sets a string representation for the specified URL schema.
Public propertySearch
Gets or sets a string representation for the specified URL search segment.
Public propertySearchParams
Gets an associated IUrlSearchParams object.
Public propertyUsername
Gets or sets a string representation for the specified URL username.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object, is equal to this instance.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToJson
Returns a String that represents this instance.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
See Also