type property

Sets or retrieves the content type of the resource designated by the IHTMLParamElement::value attribute.

Syntax

HRESULT value = object.put_type( v);HRESULT value = object.get_type(* p);

Property values

Type: BSTR

the content type of the resource designated by the IHTMLParamElement::value attribute, only in the case where IHTMLParamElement::valueType is set to ref. This attribute thus specifies for the user agent the type of values that will be found at the URI designated by value.

Standards information

Remarks

The content type specifies the nature of a linked resource. Examples of content types include "text/html", "image/png", "image/gif", "video/mpeg", "audio/basic", "text/tcl", "text/javascript", and "text/vbscript". For the current list of registered content types, see MIME Media Types.

See also

Conceptual

Binding HTML Elements to Data

Introduction to Data Binding