次の方法で共有


IPersistFolder (Compact 2013)

3/28/2014

This interface is used to initialize shell folder objects.

When to Implement

Implement this interface so the folder object can be initialized when you are creating a shell namespace extension, specifically the IShellFolder interface. The folder is told where it is in the shell namespace through the implementation of this interface.

Methods

In addition to the methods inherited from IUnknown, IPersistFolder::Initialize is the only method in this interface. It instructs a shell folder object to initialize itself based on the information passed.

Obtaining a Pointer

You do not use this interface directly. It is used by the file system implementation of the IShellFolder::BindToObject interface when it is initializing a shell folder object.

Remarks

IPersistFolder is derived from IPersist. The listed method is specific to IPersistFolder.

Requirements

Header

shobjidl.h,
shobjidl.idl

Library

Developer Implemented

See Also

Reference

Shell Interfaces