C1.WPF Namespace > AutomationPeerFactory Class > CreateAutomationPeer Method : CreateAutomationPeer(Object,Type) Method |
'Declaration
Public Overloads Shared Function CreateAutomationPeer( _ ByVal peerOwner As Object, _ ByVal ownerType As Type _ ) As AutomationPeer
'Usage
Dim peerOwner As Object Dim ownerType As Type Dim value As AutomationPeer value = AutomationPeerFactory.CreateAutomationPeer(peerOwner, ownerType)
public static AutomationPeer CreateAutomationPeer( object peerOwner, Type ownerType )
public: static AutomationPeer^ CreateAutomationPeer( Object^ peerOwner, Type^ 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