Contents Index Topic Contents | ||
Previous Topic: IHTMLAnchorElement::get_href Next Topic: IHTMLAnchorElement::get_mimeType |
IHTMLAnchorElement::get_Methods
HRESULT get_Methods( BSTR *p );Retrieves a list of methods that the user can perform on an object.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a string variable that receives a comma-separated list of HTTP methods supported by the object for public use.
The functions that the user can perform on an object are more accurately given by the HTTP protocol when it is used, but it might, for reasons similar to the title property, be useful to include the information in advance in the link. For example, the HTML user agent might choose a different rendering as a function of the methods allowed, and thus something that is searchable might get a different icon.
IHTMLAnchorElement::put_Methods
HRESULT put_Methods( BSTR v );Sets information about the functions that the user can perform on an object.
- Returns S_OK if successful, or an error value otherwise.
- v
- String value specifying a comma-separated list of HTTP methods supported by the object for public use.
The functions that the user can perform on an object are more accurately given by the HTTP protocol when it is used, but it might, for reasons similar to the title property, be useful to include the information in advance in the link. For example, the HTML user agent might choose a different rendering as a function of the methods allowed, and thus something that is searchable might get a different icon.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.