IUrlAccessor2::AddRequestParameter Method

Requests a property-value set for collection.

Syntax

HRESULT AddRequestParameter(      
    PROPSPEC *pSpec,
    PROPVARIANT *pVar
);

Parameters

  • pSpec
    [in]  Pointer to a structure of type PROPSPEC containing the requested property.
  • pVar
    [in]  Pointer to a structure of type PROPVARIANT containing the value for the property specified by pSpec.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Implement this method to obtain additional information from the content source. For instance, requesting the If-Modified-Since header in an HTTP request.