UrlMapping.Url Property

 

Gets the URL that is displayed to the user.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

<ConfigurationPropertyAttribute("url", IsRequired := True, IsKey := True)>
Public ReadOnly Property Url As String

Property Value

Type: System.String

The URL that is displayed to the user.

The Url property is the programmatic equivalent of the Url attribute of the add element in the urlMappings section of a configuration file.

For an example, see the UrlMapping class overview.

.NET Framework
Available since 2.0
Return to top
Show: