共用方式為


ListBoxItemAutomationPeer(Object, SelectorAutomationPeer) 建構函式

定義

初始化 ListBoxItemAutomationPeer 類別的新執行個體。

public:
 ListBoxItemAutomationPeer(System::Object ^ owner, System::Windows::Automation::Peers::SelectorAutomationPeer ^ selectorAutomationPeer);
public ListBoxItemAutomationPeer (object owner, System.Windows.Automation.Peers.SelectorAutomationPeer selectorAutomationPeer);
new System.Windows.Automation.Peers.ListBoxItemAutomationPeer : obj * System.Windows.Automation.Peers.SelectorAutomationPeer -> System.Windows.Automation.Peers.ListBoxItemAutomationPeer
Public Sub New (owner As Object, selectorAutomationPeer As SelectorAutomationPeer)

參數

owner
Object

與這個 ListBoxItemAutomationPeer 關聯的 ListBoxItem

selectorAutomationPeer
SelectorAutomationPeer

SelectorAutomationPeer,是這個 ListBoxItemAutomationPeer 的父代。

適用於