次の方法で共有


WebRequestInformation.RequestPath プロパティ

定義

Web 要求の物理パスを取得します。

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

プロパティ値

要求の物理パス。

次のコード例は、Web 要求パスを取得する方法を示しています。

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

適用対象