Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 1.67 KB

data-member-attributes.md

File metadata and controls

30 lines (26 loc) · 1.67 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Data Member Attributes
Data Member Attributes (C++ COM)
10/02/2018
attributes [C++/CLI], reference topics
data members [C++], attributes
data members [C++]
95b2397d-1daf-4ae4-8cd0-06956d005b13

Data Member Attributes

The following attributes apply to the data members in a class, coclass, or interface.

Attribute Description
db_accessor Groups db_column attributes that participate in IAccessor-based binding.
db_column Binds a specified column to the rowset.
db_command Creates an OLE DB command.
db_param Associates the specified member variable with an input or output parameter and delimits the variable.
db_source Creates a connection to a data source.
db_table Opens an OLE DB table.
defaultbind Indicates the single, bindable property that best represents the object.
displaybind Indicates a property that should be displayed to the user as bindable.
id Specifies a DISPID for a member function (either a property or a method, in an interface or dispinterface).
range Specifies a range of allowable values for arguments or fields whose values are set at run time.
rdx Creates a registry key or modifies an existing registry key.
readonly Prohibits assignment to a data member.
requestedit Indicates that the property supports the OnRequestEdit notification.

See also

Attributes by Usage