| title | CUtlProps Class | Microsoft Docs | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ms.custom | ||||||||||||||
| ms.date | 11/04/2016 | |||||||||||||
| ms.reviewer | ||||||||||||||
| ms.suite | ||||||||||||||
| ms.technology |
|
|||||||||||||
| ms.tgt_pltfrm | ||||||||||||||
| ms.topic | article | |||||||||||||
| f1_keywords |
|
|||||||||||||
| dev_langs |
|
|||||||||||||
| helpviewer_keywords |
|
|||||||||||||
| ms.assetid | bb525178-765c-4e23-a110-c0fd70c05437 | |||||||||||||
| caps.latest.revision | 9 | |||||||||||||
| author | mikeblome | |||||||||||||
| ms.author | mblome | |||||||||||||
| manager | ghogen | |||||||||||||
| translation.priority.ht |
|
Implements properties for a variety of OLE DB property interfaces (for example, IDBProperties, IDBProperties, and IRowsetInfo).
template < class T >
class ATL_NO_VTABLE CUtlProps : public CUtlPropsBase
T
The class that contains the BEGIN_PROPSET_MAP.
| GetPropValue | Gets a property from a property set. |
| IsValidValue | Used to validate a value before setting a property. |
| OnInterfaceRequested | Handles requests for an optional interface when a consumer calls a method on an object creation interface. |
| OnPropertyChanged | Called after setting a property to handle chained properties. |
| SetPropValue | Sets a property in a property set. |
Most of this class is an implementation detail.
CUtlProps contains two members for setting properties internally: GetPropValue and SetPropValue.
For more information on the macros used in a property set map, see BEGIN_PROPSET_MAP and END_PROPSET_MAP.
Header: atldb.h
OLE DB Provider Templates
OLE DB Provider Template Architecture