IHTMLParamElement2::name Property

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

Syntax

HRESULT IHTMLParamElement2::get_name(BSTR *p);
HRESULT IHTMLParamElement2::put_name(BSTR v);

Parameters

  • p
    Pointer to a variable of type BSTR that receives the name which is passed to an applet, embed, or object element.
  • v
    BSTR that specifies the name which is 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::name is an attribute of param. Beginning in Internet Explorer 6, IHTMLParamElement2::name is a read/write property.

See Also

Binding HTML Elements to Data, Introduction to Data Binding