UrlMapping.Url 属性

定义

获取显示给用户的 URL。Gets the URL that is displayed to the user.

public:
 property System::String ^ Url { System::String ^ get(); };
[System.Configuration.ConfigurationProperty("url", IsKey=true, IsRequired=true)]
public string Url { get; }
[<System.Configuration.ConfigurationProperty("url", IsKey=true, IsRequired=true)>]
member this.Url : string
Public ReadOnly Property Url As String

属性值

String

显示给用户的 URL。The URL that is displayed to the user.

属性

示例

有关示例,请参阅 UrlMapping 类概述。For an example, see the UrlMapping class overview.

注解

Url属性是在 Url add 配置文件的部分中元素的属性的编程等效项 urlMappingsThe Url property is the programmatic equivalent of the Url attribute of the add element in the urlMappings section of a configuration file.

适用于

另请参阅