다음을 통해 공유


CUtlProps 클래스

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 공급자 템플릿(C++)

OLE DB 공급자 템플릿 구조