'Declaration
Public Overloads Shared Function CreateAutomationPeer( _ ByVal peerOwner As System.Object, _ ByVal ownerType As System.Type _ ) As System.Windows.Automation.Peers.AutomationPeer
'Usage
Dim peerOwner As System.Object Dim ownerType As System.Type Dim value As System.Windows.Automation.Peers.AutomationPeer value = AutomationPeerFactory.CreateAutomationPeer(peerOwner, ownerType)
Parameters
- peerOwner
- Owner control.
- ownerType
- Type of the owner control.
Return Value
The automation peer object.