Data Member Attributes

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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

AttributeDescription
db_accessorGroups db_column attributes that participate in IAccessor-based binding.
db_columnBinds a specified column to the rowset.
db_commandCreates an OLE DB command.
db_paramAssociates the specified member variable with an input or output parameter and delimits the variable.
db_sourceCreates a connection to a data source.
db_tableOpens an OLE DB table.
defaultbindIndicates the single, bindable property that best represents the object.
displaybindIndicates a property that should be displayed to the user as bindable.
idSpecifies a DISPID for a member function (either a property or a method, in an interface or dispinterface).
rangeSpecifies a range of allowable values for arguments or fields whose values are set at run time.
rdxCreates a registry key or modifies an existing registry key.
readonlyProhibits assignment to a data member.
requesteditIndicates that the property supports the OnRequestEdit notification.

Attributes by Usage

Show: