WebRequestInformation.RequestPath Eigenschap

Definitie

Hiermee haalt u het fysieke pad van de webaanvraag op.

public:
 property System::String ^ RequestPath { System::String ^ get(); };
public string RequestPath { get; }
member this.RequestPath : string
Public ReadOnly Property RequestPath As String

Waarde van eigenschap

Het fysieke pad van de aanvraag.

Voorbeelden

In het volgende codevoorbeeld ziet u hoe u het pad naar de webaanvraag opvraagt.

// 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

Van toepassing op