Sets or retrieves the MIME encoding for the form.
HRESULT IHTMLFormElement::get_encoding(BSTR *p);HRESULT IHTMLFormElement::put_encoding(BSTR v);
- Pointer to a variable of type BSTR that receives the format of the data being submitted by the form.
- BSTR that specifies the format of the data being submitted by the form.
Returns S_OK if successful, or an error value otherwise.
Microsoft Internet Explorer 4.0 also recognizes multipart/form-data, which, along with a POST method, is required to submit a file upload to the server.