共用方式為


ItemsControlAutomationPeer.FindOrCreateItemAutomationPeer(Object) 方法

定義

傳回指定之物件的 ItemAutomationPeer

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

參數

item
Object

要為其取得ItemAutomationPeer的項目。

傳回

指定物件的 ItemAutomationPeer

屬性

適用於