Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 1.24 KB

File metadata and controls

53 lines (40 loc) · 1.24 KB
title defaultbind (C++ COM Attribute) | Microsoft Docs
ms.custom
ms.date 10/02/2018
ms.technology
cpp-windows
ms.topic reference
f1_keywords
vc-attr.defaultbind
dev_langs
C++
helpviewer_keywords
defaultbind attribute
ms.assetid b20a8437-24e6-4b6d-a2df-09fe5e1006e0
author mikeblome
ms.author mblome
ms.workload
cplusplus
uwp

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

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