Click to return to the Reusing Browser Technology home page    
IHTMLAnchorElement::get_h...     IHTMLAnchorElement::get_m...     IHTMLAnchorElement Interf...    
Web Workshop  |  Reusing Browser Technology

IHTMLAnchorElement::get_Methods Method


Retrieves a list of methods that the user can perform on an object.

Syntax

HRESULT get_Methods(
    BSTR *p
);

Parameters

p
Address of a string (BSTR) variable that receives a comma-separated list of HTTP methods supported by the object for public use.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

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.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

IHTMLAnchorElement::put_Methods Method


Sets information about the functions that the user can perform on an object.

Syntax

HRESULT put_Methods(
    BSTR v
);

Parameters

v
String (BSTR) value that specifies a comma-separated list of HTTP methods supported by the object for public use.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

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.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.