RequestUrl Property
Collapse the table of content
Expand the table of content

WebRequestInformation.RequestUrl Property


Gets the logical path of the request.

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

Public ReadOnly Property RequestUrl As String

Property Value

Type: System.String

The logical path of the request.

The following code example shows how to get the Web-request logical path.

' Get the request URL.
Public Function GetRequestUrl() As String
   ' Get the request URL.
     Return String.Format("Request URL: {0}", _
End Function 'GetRequestUrl

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft