Share via


IUIAutomationDropTargetPattern::get_CurrentDropTargetEffect 方法 (uiautomationclient.h)

擷取本地化字串,描述當使用者卸除此置放目標上抓取的元素時會發生什麼情況。

這個屬性是唯讀的。

語法

HRESULT get_CurrentDropTargetEffect(
  BSTR *retVal
);

參數

retVal

傳回值

備註

此屬性描述當用戶在目標上卸除抓取元素時所發生的預設效果,例如移動或複製專案。 此屬性可以是簡短字串,例如 「move」,或較長的字串,例如「插入 Main 群組」。 字串一律會本地化。

規格需求

需求
最低支援的用戶端 Windows 8 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2012 [僅限傳統型應用程式]
目標平台 Windows
標頭 uiautomationclient.h (包含 UIAutomation.h)

另請參閱

IUIAutomationDropTargetPattern