WebRequestInformation.RequestUrl 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得要求的邏輯路徑。
public:
property System::String ^ RequestUrl { System::String ^ get(); };
public string RequestUrl { get; }
member this.RequestUrl : string
Public ReadOnly Property RequestUrl As String
屬性值
要求的邏輯路徑。
備註
下列程式碼範例示範如何取得 Web 要求邏輯路徑。
// Get the request URL.
public string GetRequestUrl()
{
// Get the request URL.
return (string.Format(
"Request URL: {0}",
RequestInformation.RequestUrl));
}
' Get the request URL.
Public Function GetRequestUrl() As String
' Get the request URL.
Return String.Format("Request URL: {0}", _
RequestInformation.RequestUrl)
End Function 'GetRequestUrl