IHTMLParamElement2::value Property

Sets or retrieves the value of an input parameter for an element.

Syntax

HRESULT IHTMLParamElement2::get_value(BSTR *p);
HRESULT IHTMLParamElement2::put_value(BSTR v);

Parameters

  • p
    Pointer to a variable of type BSTR that receives the value passed to an applet, embed, or object element.
  • v
    BSTR that specifies the value passed to an applet, embed, or object element.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

In Microsoft Internet Explorer 3.02 and later, IHTMLParamElement2::value is an attribute of param. Beginning in Internet Explorer 6, IHTMLParamElement2::value is a read/write property.

See Also

Binding HTML Elements to Data, Introduction to Data Binding