displaybind

[interface-attribute-list] interface | dispinterface interface-name
{
[bindable
, displaybind[, attribute-list]] returntype function-name(params)
}

Example

[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);
}
 

Remarks

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.

Flags

FUNCFLAG_FDISPLAYBIND, VARFLAG_FDISPLAYBIND

See Also

TYPEFLAGS, ODL File Syntax, ODL File Example, Generating a Type Library With MIDL