(propsys.h) 的 IPropertyStoreFactory 介面

公開方法來取得 IPropertyStore 物件。

繼承

IPropertyStoreFactory 介面繼承自 IUnknown 介面。 IPropertyStoreFactory 也有下列類型的成員:

方法

IPropertyStoreFactory 介面具有這些方法。

 
IPropertyStoreFactory::GetPropertyStore

取得對應至所提供旗標的 IPropertyStore 物件。
IPropertyStoreFactory::GetPropertyStoreForKeys

取得 IPropertyStore 物件,指定一組屬性索引鍵。 相較於呼叫 IPropertyStoreFactory::GetPropertyStore,這會提供可能更快取得 IPropertyStore 物件的替代方法。

備註

此介面通常是透過 IShellFolder::BindToObjectIShellItem::BindToHandler 取得。 對於想要避免透過 IShellItem2::GetPropertyStore 建立屬性存放區的額外額外負荷,這非常有用。 不過,除非您透過Shell資料夾延伸模組實作數據源,否則 IShellItem2::GetPropertyStore 是取得屬性存放區的建議方法。

規格需求

需求
最低支援的用戶端 Windows Vista [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2008 [僅限傳統型應用程式]
目標平台 Windows
標頭 propsys.h

另請參閱

PSCreatePropertyStoreFromObject