ITransferSource::ApplyPropertiesToItem 方法 (shobjidl_core.h)

將一組屬性變更套用至專案。

語法

HRESULT ApplyPropertiesToItem(
  [in]  IShellItem *psiSource,
  [out] IShellItem **ppsiNew
);

參數

[in] psiSource

類型: IShellItem*

要改變之 IShellItem 的指標。

[out] ppsiNew

類型: IShellItem**

當這個方法傳回時,會包含已變更 IShellItem 指標的位址。

傳回值

類型: HRESULT

如果此方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。

規格需求

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