TreeViewItemAutomationPeer.FindOrCreateItemAutomationPeer(Object) 方法

定义

返回指定对象的 ItemAutomationPeer

protected public:
 override System::Windows::Automation::Peers::ItemAutomationPeer ^ FindOrCreateItemAutomationPeer(System::Object ^ item);
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected internal override System.Windows.Automation.Peers.ItemAutomationPeer FindOrCreateItemAutomationPeer (object item);
protected internal override System.Windows.Automation.Peers.ItemAutomationPeer FindOrCreateItemAutomationPeer (object item);
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
override this.FindOrCreateItemAutomationPeer : obj -> System.Windows.Automation.Peers.ItemAutomationPeer
override this.FindOrCreateItemAutomationPeer : obj -> System.Windows.Automation.Peers.ItemAutomationPeer
Protected Friend Overrides Function FindOrCreateItemAutomationPeer (item As Object) As ItemAutomationPeer

参数

item
Object

需要获取 ItemAutomationPeer 的项。

返回

ItemAutomationPeer

指定对象的 ItemAutomationPeer

属性

适用于