Contents Index Topic Contents | ||
Previous Topic: IHTMLFormElement::put_encoding Next Topic: IHTMLFormElement::put_method |
IHTMLFormElement::get_encoding
HRESULT get_encoding( BSTR *p );Retrieves the mime-encoding for the form. This property corresponds to the HTML ENCTYPE= attribute.
- Returns S_OK if successful, or an error value otherwise.
- 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
See also put_encoding
IHTMLFormElement::put_encoding
HRESULT put_encoding( BSTR v );Sets the mime encoding for the form. This property corresponds to the HTML ENCTYPE= attribute.
- Returns S_OK if successful, or an error value otherwise.
- 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
See also get_encoding
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.