Sets or gets the list of HTTP methods supported by the object.
HRESULT IHTMLAnchorElement::get_Methods(BSTR *p);HRESULT IHTMLAnchorElement::put_Methods(BSTR v);
- Pointer to a variable of type BSTR that receives the comma-separated list of HTTP methods supported by the object for public use.
- BSTR that specifies the comma-separated list of HTTP methods supported by the object for public use.
Returns S_OK if successful, or an error value otherwise.
When the HTTP protocol is used, these methods are given more accurately by the protocol. However, for reasons similar to those for the IHTMLElement::title property, it can be useful to include the information in advance in the link. The HTML user agent can choose a different rendering as a function of the methods that are allowed. For example, if an object has a method that supports searching, an icon denoting this can be rendered.