SearchControl.OnCreateAutomationPeer Method
Is invoked whenever application code or internal processes create an automation peer.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Protected Overrides Function OnCreateAutomationPeer As AutomationPeer
protected override AutomationPeer OnCreateAutomationPeer()
protected:
virtual AutomationPeer^ OnCreateAutomationPeer() override
abstract OnCreateAutomationPeer : unit -> AutomationPeer
override OnCreateAutomationPeer : unit -> AutomationPeer
protected override function OnCreateAutomationPeer() : AutomationPeer
Return Value
Type: AutomationPeer
Returns the automation peer.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.