IHTMLDatabinding

IHTMLDatabinding


This interface encapsulates the databinding methods that an IHTMLElement interface can support. To access these methods, a control should query IHTMLElement for this interface.

IHTMLDatabinding Methods
put_dataFld   get_dataFld   put_dataSrc  
get_dataSrc   put_dataFormatAs   get_dataFormatAs  

IHTMLDatabinding::put_dataFld

HRESULT put_dataFld(
    BSTR v
);

Sets the field of a given data source (as specified by the dataFld property) to bind to the given element.

v
String specifying the field.

See also get_dataFld

IHTMLDatabinding::get_dataFld

HRESULT get_dataFld(
    BSTR *p
);

Retrieves the field of a given data source (as specified by the dataFld property) to bind to the given element.

p
Address of a string variable that receives the field.

See also put_dataFld

IHTMLDatabinding::put_dataSrc

HRESULT put_dataSrc(
    BSTR v
);

Sets the identifier of the data source object that supplies the data that is bound to this element.

v
String specifying the identifier of the data source object.

See also get_dataSrc

IHTMLDatabinding::get_dataSrc

HRESULT get_dataSrc(
    BSTR *p
);

Retrieves the identifier of the data source object that supplies the data that is bound to this element.

p
Address of a string variable that receives the identifier of the data source object.

See also put_dataSrc

IHTMLDatabinding::put_dataFormatAs

HRESULT put_dataFormatAs(
    BSTR v
);

Sets the type of the data to bind to the given element.

v
String specifying the type of data.

See also get_dataFormatAs

IHTMLDatabinding::get_dataFormatAs

HRESULT get_dataFormatAs(
    BSTR *p
);

Retrieves the type of the data to bind to the given element.

p
Address of a string variable that receives the type of data.

See also put_dataFormatAs

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.