Share via


SwitcherDesigner.CanParent Method (Control)

Indicates whether the control that is managed by the specified designer can be a child of the control that is managed by this designer.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Public Overrides Function CanParent ( _
    control As Control _
) As Boolean
'Usage
Dim instance As SwitcherDesigner
Dim control As Control
Dim returnValue As Boolean

returnValue = instance.CanParent(control)
public override bool CanParent(
    Control control
)
public:
virtual bool CanParent(
    Control^ control
) override
abstract CanParent : 
        control:Control -> bool 
override CanParent : 
        control:Control -> bool 
public override function CanParent(
    control : Control
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the control that is managed by the specified designer can be a child of the control managed by this designer; otherwise, false.