Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

IHTMLFormElement::encoding Property

Sets or retrieves the MIME encoding for the form.

Syntax


HRESULT IHTMLFormElement::get_encoding(BSTR *p);HRESULT IHTMLFormElement::put_encoding(BSTR v);

Parameters

p
Pointer to a variable of type BSTR that receives the format of the data being submitted by the form.
v
BSTR that specifies the format of the data being submitted by the form.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

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.

See Also

IHTMLFormElement::action

Community Additions

Show:
© 2015 Microsoft