Поделиться через


defaultbind

Indicates the single, bindable property that best represents the object.

[defaultbind]

Заметки

The defaultbind C++ attribute has the same functionality as the defaultbind MIDL attribute.

Пример

See the example for bindable for an example of how to use defaultbind.

Требования

Attribute Context

Applies to

Interface method

Repeatable

No

Required attributes

None

Invalid attributes

None

For more information, see Attribute Contexts.

См. также

Основные понятия

IDL Attributes

Method Attributes

Data Member Attributes

displaybind

immediatebind

requestedit

ATL Samples