共用方式為


IWDTFActions2::get_Item 方法 (wdtf.h)

取得集合中的個別動作。

語法

HRESULT get_Item(
  [in]  LONG         Index,
  [out] IWDTFAction2 **ppAction
);

參數

[in] Index

以 0 為基礎的索引值。

[out] ppAction

索引動作。

傳回值

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

要求

要求 價值
目標平臺 窗戶
標頭 wdtf.h