IHTMLButtonElement::value Property

Gets or sets the default or selected value of the control.

Syntax

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

Parameters

  • p
    Pointer to a variable of type BSTR that receives the value for the control.
  • v
    BSTR that specifies the value for the control.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

button