defaultbind
Indicates the single, bindable property that best represents the object.
Syntax
[defaultbind]
Remarks
The defaultbind C++ attribute has the same functionality as the defaultbind MIDL attribute.
Example
See the example for bindable for an example of how to use defaultbind.
Requirements
Attribute context | Value |
---|---|
Applies to | Interface method |
Repeatable | No |
Required attributes | None |
Invalid attributes | None |
For more information, see Attribute Contexts.
See also
IDL Attributes
Method Attributes
Data Member Attributes
displaybind
immediatebind
requestedit
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for