TreeViewItemAutomationPeer.FindOrCreateItemAutomationPeer Method (Object)

.NET Framework (current version)
 

Returns an ItemAutomationPeer for the specified object.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationFramework (in PresentationFramework.dll)

[SecurityCriticalAttribute]
[SecurityTreatAsSafeAttribute]
protected internal override ItemAutomationPeer FindOrCreateItemAutomationPeer(
	object item
)

Parameters

item
Type: System.Object

The item to get an ItemAutomationPeer for.

Return Value

Type: System.Windows.Automation.Peers.ItemAutomationPeer

An ItemAutomationPeer for the specified object.

.NET Framework
Available since 4.5
Return to top
Show: