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
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