IHTMLDatabinding::dataFld Property

Sets or retrieves a field of a given data source, as specified by the IHTMLDatabinding::dataSrc property, to bind to the specified object.

Syntax

HRESULT IHTMLDatabinding::get_dataFld(BSTR *p);
HRESULT IHTMLDatabinding::put_dataFld(BSTR v);

Parameters

  • p
    Pointer to a variable of type BSTR that receives the field name.
  • v
    BSTR that specifies the field name.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The IHTMLDatabinding::dataFld property is not available on param objects; use getAttribute('dataFld') instead.

See Also

Introduction to Data Binding