Rediger

Del via


TreeViewItemAutomationPeer.FindOrCreateItemAutomationPeer(Object) Method

Definition

Returns an ItemAutomationPeer for the specified object.

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

Parameters

item
Object

The item to get an ItemAutomationPeer for.

Returns

An ItemAutomationPeer for the specified object.

Attributes

Applies to