Gets the control.
            
            
            
Syntax
| Visual Basic (Declaration) |   | 
|---|
Public Overridable Function GetControl() As Object  | 
 
| Visual Basic (Usage) |  Copy Code | 
|---|
Dim instance As ElementControl
Dim value As Object
 
value = instance.GetControl()  | 
 
| C# |   | 
|---|
public virtual object GetControl()  | 
 
            
            
            Return Value
Object containing the control; null if the control is derived from the 
ElementWindowless class
 
            
						
            
            
            
            
            
            
            
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
 
            
            
See Also