Page.ClientQueryString Page.ClientQueryString Page.ClientQueryString Page.ClientQueryString Property

定義

取得所要求 URL 的查詢字串部分。Gets the query string portion of the requested URL.

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

屬性值

所要求 URL 的查詢字串部分。The query string portion of the requested URL.

備註

ClientQueryString屬性包含由瀏覽器所要求的 URL 查詢字串部分。The ClientQueryString property contains the query string portion of the URL requested by the browser. 比方說,如果要求的 url http://www.contoso.com/default.aspx?id=100,則ClientQueryString屬性會包含"id = 100"。For example, if the requested URL is http://www.contoso.com/default.aspx?id=100, the ClientQueryString property will contain "id=100". ClientQueryString屬性進行編碼,請使用HttpServerUtility.UrlDecode方法來解碼的查詢字串。The ClientQueryString property is encoded; use the HttpServerUtility.UrlDecode method to decode the query string.

適用於