IHTMLMetaElement

IHTMLMetaElement


This interface provides support for client-pull.

This element can be used only within the HEAD tag.

IHTMLMetaElement Methods
put_httpEquiv   get_httpEquiv   put_content  
get_content   put_name   get_name  
put_url   get_url   put_charset  
get_charset  

IHTMLMetaElement::put_httpEquiv

HRESULT put_httpEquiv(
    BSTR v 
);

Binds the content of the element to an HTTP response header.

v
String specifying the HTTP response header.

If omitted, the name property should be used to identify the meta-information. The httpEquiv property is not case sensitive.

See also get_httpEquiv

IHTMLMetaElement::get_httpEquiv

HRESULT get_httpEquiv(
    BSTR *p 
);

Binds the content of the element to an HTTP response header.

p
Address of a variable that receives the HTTP response header.

If omitted, the name property should be used to identify the meta-information. The httpEquiv property is not case sensitive.

See also put_httpEquiv

IHTMLMetaElement::put_content

HRESULT put_content( 
    BSTR v 
);

Sets meta-information to be associated with the given name or HTTP response header.

v
String specifying the meta-information.

See also get_content

IHTMLMetaElement::get_content

HRESULT get_content(
    BSTR *p 
);

Retrieves meta-information to be associated with the given name or HTTP response header.

p
Address of a variable that receives the meta-information.

See also put_content

IHTMLMetaElement::put_name

HRESULT put_name(
    BSTR v 
);

Sets the name of the control, bookmark, or application.

v
String specifying the name.

The name is used to bind the value of the control when submitting a form. The NAME is not the value that is displayed for the button, reset, and submit objects. Submitting the form submits the internally stored value, not the one displayed.

JScript allows the name to be changed at run time. This does not change the name in the programming model, in the collection of elements, but does change the name used for submitting elements.

See also get_name

IHTMLMetaElement::get_name

HRESULT get_name(
    BSTR *p 
);

Retrieves the name of the control, bookmark, or application.

p
Address of a variable that receives the name.

The name is used to bind the value of the control when submitting a form. The NAME is not the value that is displayed for the button, reset, and submit objects. Submitting the form submits the internally stored value, not the one displayed.

JScript allows the name to be changed at run time. This does not change the name in the programming model, in the collection of elements, but does change the name used for submitting elements.

See also put_name

IHTMLMetaElement::put_url

HRESULT put_url(
    BSTR v 
);

Specifies a URL to load after the specified time has elapsed.

v
String specifying the URL.

See also get_url

IHTMLMetaElement::get_url

HRESULT get_url(
    BSTR *p
);

Receives the URL that will be loaded after the specified time has elapsed.

p
Address of a variable that receives the URL.

See also put_url

IHTMLMetaElement::put_charset

HRESULT put_charset( 
    BSTR v 
);

Sets the character set of the document.

v
String specifying the character set.

See also get_charset

IHTMLMetaElement::get_charset

HRESULT get_charset(
    BSTR *p 
);

Retrieves the character set of the document.

p
Address of a variable that receives the character set.

See also put_charset

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.