共用方式為


ISpecifyPropertyPagesImpl 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 ISpecifyPropertyPagesImpl Class.

This class implements IUnknown and provides a default implementation of the ISpecifyPropertyPages interface.

Important

This class and its members cannot be used in applications that execute in the Windows Runtime.

Syntax

template<class T>  
class ATL_NO_VTABLE ISpecifyPropertyPagesImpl 
   : public ISpecifyPropertyPages

Parameters

T
Your class, derived from ISpecifyPropertyPagesImpl.

Members

Public Methods

Name Description
ISpecifyPropertyPagesImpl::GetPages Fills a Counted Array of UUID values. Each UUID corresponds to the CLSID for one of the property pages that can be displayed in the object's property sheet.

Remarks

The ISpecifyPropertyPages interface allows a client to obtain a list of CLSIDs for the property pages supported by an object. Class ISpecifyPropertyPagesImpl provides a default implementation of this interface and implements IUnknown by sending information to the dump device in debug builds.

Note

Do not expose the ISpecifyPropertyPages interface if your object does not support property pages.

Related Articles ATL Tutorial, Creating an ATL Project

Inheritance Hierarchy

ISpecifyPropertyPages

ISpecifyPropertyPagesImpl

Requirements

Header: atlcom.h

ISpecifyPropertyPagesImpl::GetPages

Fills the array in the CAUUID structure with the CLSIDs for the property pages that can be displayed in the object's property sheet.

STDMETHOD(GetPages)(CAUUID* pPages);

Remarks

ATL uses the object's property map to retrieve each CLSID.

See ISpecifyPropertyPages::GetPages in the Windows SDK.

See Also

IPropertyPageImpl Class
IPerPropertyBrowsingImpl Class
Class Overview