共用方式為


IRowsetInfoImpl Class

 

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

The latest version of this topic can be found at IRowsetInfoImpl Class.

Provides an implementation for the IRowsetInfo interface.

Syntax

template <class T, class PropClass = T>  
class ATL_NO_VTABLE IRowsetInfoImpl :   
   public IRowsetInfo,    
   public CUtlProps<PropClass>  

Parameters

T
Your class, derived from IRowsetInfoImpl.

PropClass
A user-definable property class that defaults to T.

Members

Interface Methods

GetProperties Returns the current settings of all properties supported by the rowset.
GetReferencedRowset Returns an interface pointer to the rowset to which a bookmark applies.
GetSpecification Returns an interface pointer on the object (command or session) that created this rowset.

Remarks

A mandatory interface on rowsets. This class implements the rowset properties by using the property set map defined in your command class. Although the rowset class appears to be using the command class' property sets, the rowset is supplied with its own copy of the run-time properties, when it is created by a command or session object.

Requirements

Header: altdb.h

See Also

OLE DB Provider Templates
OLE DB Provider Template Architecture