共用方式為


IRequest::get_QueryString

The IRequest::get_QueryString method retrieves the Request.QueryString Collection collection of the Request Object object.

HRESULT get_QueryString(
      IRequestDictionary** ppDictReturn
);

Parameters

  • ppDictReturn
    [retval] [out] Points to an IRequestDictionary interface pointer that receives the QueryString collection.

Remarks

You can iterate through the QueryString collection with the IRequestDictionary::get__NewEnum, or you can retrieve a specific QueryString value with the IRequestDictionary::get_Item method.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also