Visual Basic (Declaration) | |
---|---|
Protected Overrides Function OnCreateAutomationPeer() As AutomationPeer |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ColorPicker Dim value As AutomationPeer value = instance.OnCreateAutomationPeer() |
C# | |
---|---|
protected override AutomationPeer OnCreateAutomationPeer() |
C++/CLI | |
---|---|
protected: AutomationPeer^ OnCreateAutomationPeer(); override |
Return Value
The type-specific System.Windows.Automation.Peers.AutomationPeer implementation.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