Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Retrieves the mime-encoding for the form. This property corresponds to the HTML ENCTYPE= attribute.
Syntax
HRESULT get_encoding( BSTR *p );
Parameters
- p
- Address of a variable that receives the mime-encoding. The default is "application/x-www-form-urlencoded". Internet Explorer 4.0 also recognizes "multipart/form-data", which with a POST method is required to submit a file upload to the server
Return Value
Returns S_OK if successful, or an error code otherwise.
See Also
Sets the mime encoding for the form. This property corresponds to the HTML ENCTYPE= attribute.
Syntax
HRESULT put_encoding( BSTR v );
Parameters
- v
- String specifying the mime encoding. The default is "application/x-www-form-urlencoded". Internet Explorer 4.0 also recognizes "multipart/form-data", which with a POST method is required to submit a file upload to the server
Return Value
Returns S_OK if successful, or an error code otherwise.
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.