'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 )
Parameters
- peerOwner
- Owner control.
- ownerType
- Type of the owner control.
Return Value
The automation peer object.