Location.Pathname

Location.Pathname property

Returns the Location object’s URL’s path. Can be set, to navigate to the same URL with a changed path.

public string Pathname { get; set; }

See Also