IHTMLFormElement::get_encodingIHTMLFormElement::get_encoding*
*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.

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

Up Top of Page


IHTMLFormElement::put_encoding


HRESULT put_encoding(
    BSTR v
);

Sets the mime encoding for the form. This property corresponds to the HTML ENCTYPE= attribute.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.