IRequest::get_Item

This method returns a pointer to an interface pointer of the first item in the Request object's collections that contains the specified string. The collections are searched in the following order: QueryString, Form, Cookies, ClientCertificate, ServerVariables.

HRESULT get_Item(

BSTR bstrVar,

//binary string that contains the name of the item to retrieve

IDispatch ** ppObjReturn

//pointer to an IDispatch interface pointer that receives the object that contains the binary string specified in bstrVar

);

Return Value

If the object containing bstrVar is found in the QueryString, Form, or ServerVariables collection, then ** ppObjReturn points to an object which supports the IStringList interface.

If the object is found in the ClientCertificate collection, then ** ppObjReturn points to an object that supports the IRequestDictionary interface.

If the object was found in the Cookies collection, ** ppObjReturn points to an object which supports the IReadCookie interface.


© Microsoft Corporation. All rights reserved.