| Visual Basic (Declaration) | |
|---|---|
Protected Overrides NotOverridable Function OnCreateAutomationPeer() As AutomationPeer | |
| C# | |
|---|---|
protected override AutomationPeer OnCreateAutomationPeer() | |
Return Value
The class-specific System.Windows.Automation.Peers.AutomationPeer subclass to return.Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8