[interface-attribute-list] interface | dispinterface interface-name
{
[bindable, displaybind[, attribute-list]] returntype function-name(params)
}
[uuid(. . .)] interface MyObject : IUnknown
{
properties:
methods:
[id(1), propget, bindable, defaultbind, displaybind]
long Size(void);
[id(1), propput, bindable, defaultbind, displaybind]
HRESULT Size([in]long lSize);
}
The displaybind attribute indicates a property that should be displayed to the user as bindable. Properties that have the displaybind attribute must also have the bindable attribute. An object can support data binding but not have this attribute.
FUNCFLAG_FDISPLAYBIND, VARFLAG_FDISPLAYBIND
TYPEFLAGS, ODL File Syntax, ODL File Example, Generating a Type Library With MIDL