C1.WPF Namespace > AutomationPeerFactory Class > CreateAutomationPeer Method : CreateAutomationPeer(Object,Type) Method |
'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)
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2