Share via


PresenceIndicator.OnCreateAutomationPeer method

Return the [AutomationPeer] object for the [PresenceIndicator] control.

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

See also

Reference

PresenceIndicator class

PresenceIndicator members

Microsoft.Lync.Controls namespace