Collapse the table of content
Expand the table of content

Methods property

Sets or gets the list of HTTP methods supported by the object.


HRESULT value = object.put_Methods( v);HRESULT value = object.get_Methods(* p);

Property values

Type: BSTR

the comma-separated list of HTTP methods supported by the object for public use.


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.



Community Additions

© 2015 Microsoft