Bewerken

Delen via


ItemsControlAutomationPeer.FindOrCreateItemAutomationPeer(Object) Method

Definition

Returns an ItemAutomationPeer for the specified object.

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

Parameters

item
Object

The item to get an ItemAutomationPeer for.

Returns

An ItemAutomationPeer for the specified object.

Attributes

Applies to