WebRequestInformation.RequestPath Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the physical path of the Web request.
public:
property System::String ^ RequestPath { System::String ^ get(); };
public string RequestPath { get; }
member this.RequestPath : string
Public ReadOnly Property RequestPath As String
Property Value
The physical path of the request.
Examples
The following code example shows how to get the Web-request path.
// Get the request path.
public string GetRequestPath()
{
// Get the request path.
return (string.Format(
"Request path: {0}",
RequestInformation.RequestPath));
}
' Get the request path.
Public Function GetRequestPath() As String
' Get the request path.
Return String.Format( _
"Request path: {0}", RequestInformation.RequestPath)
End Function 'GetRequestPath
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.