Freigeben über


ContactItem.OnCreateAutomationPeer Method

When implemented in a derived class, returns class-specific AutomationPeer implementations for the Silverlight automation infrastructure.

Namespace:  Microsoft.Lync.Controls
Assembly:  Microsoft.Lync.Controls (in Microsoft.Lync.Controls.dll)

Syntax

'Declaration
Protected Overrides Function OnCreateAutomationPeer As AutomationPeer
'Usage
Dim returnValue As AutomationPeer

returnValue = Me.OnCreateAutomationPeer()
protected override AutomationPeer OnCreateAutomationPeer()

Return Value

Type: System.Windows.Automation.Peers.AutomationPeer
The class-specific AutomationPeer subclass to return.

See Also

Reference

ContactItem Class

ContactItem Members

Microsoft.Lync.Controls Namespace