ICommandPropertiesImpl 클래스

ICommandProperties 인터페이스의 구현을 제공합니다.

구문

template <class T, class PropClass = T>
class ATL_NO_VTABLE ICommandPropertiesImpl
   : public ICommandProperties, public CUtlProps<PropClass>

매개 변수

T
파생된 클래스

PropClass
속성 클래스입니다.

요구 사항

헤더: atldb.h

멤버

인터페이스 메서드

속성 설명
GetProperties 행 집합에 대해 현재 요청된 행 집합 속성 그룹의 속성 목록을 반환합니다.
SetProperties 행 집합 속성 그룹의 속성을 설정합니다.

설명

이는 명령에 필수입니다. 구현은 BEGIN_PROPSET_MAP 매크로에서 정의한 정적 함수에 의해 제공됩니다.

ICommandPropertiesImpl::GetProperties

명령의 속성 맵을 사용하여 요청된 모든 속성 집합을 반환합니다.

구문

STDMETHOD(GetProperties)(const ULONG cPropertyIDSets,
   const DBPROPIDSET rgPropertyIDSets[],
   ULONG * pcPropertySets,
   DBPROPSET ** prgPropertySets);

매개 변수

OLE DB 프로그래머 참조에서 ICommandProperties::GetProperties를 참조하세요.

설명

BEGIN_PROPSET_MAP을 참조하세요.

ICommandPropertiesImpl::SetProperties

명령 개체의 속성을 설정합니다.

구문

STDMETHOD(SetProperties)(ULONG cPropertySets,
   DBPROPSET rgPropertySets[]);

매개 변수

OLE DB 프로그래머 참조에서 ICommandProperties::SetProperties를 참조하세요.

참고 항목

OLE DB 공급자 템플릿
OLE DB 공급자 템플릿 구조