SqlStudioLayoutManager.GetIsRootControl Method
Obtains a value indicating whether a control is the root control.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Public Function GetIsRootControl ( _
control As ContainerControl _
) As Boolean
'Usage
Dim instance As SqlStudioLayoutManager
Dim control As ContainerControl
Dim returnValue As Boolean
returnValue = instance.GetIsRootControl(control)
public bool GetIsRootControl(
ContainerControl control
)
public:
bool GetIsRootControl(
ContainerControl^ control
)
member GetIsRootControl :
control:ContainerControl -> bool
public function GetIsRootControl(
control : ContainerControl
) : boolean
Parameters
- control
Type: System.Windows.Forms.ContainerControl
Controls the layout of the control.
Return Value
Type: System.Boolean
true if the control is the root control; otherwise, false.