Url Property (WebControl)
- Last UpdatedAug 21, 2026
- 1 minute read
Gets or sets the current Url.
'Declaration
<SuppressMessageAttribute("Microsoft.Design",
"CA1056:UriPropertiesShouldNotBeStrings",
Justification="Avoid unnecessary object creation and conversion as the underlying EO component exposes Url as string")>
<BrowsableAttribute(False)>
Protected Property Url As String
[SuppressMessage("Microsoft.Design",
"CA1056:UriPropertiesShouldNotBeStrings",
Justification="Avoid unnecessary object creation and conversion as the underlying EO component exposes Url as string")]
[Browsable(false)]
protected string Url {get; set;}
[SuppressMessage("Microsoft.Design",
"CA1056:UriPropertiesShouldNotBeStrings",
Justification="Avoid unnecessary object creation and conversion as the underlying EO component exposes Url as string")]
[Browsable(false)]
protected:
property String^ Url {
String^ get();
void set ( String^ value);
}