Control.GetContainerControl Method

Definition

沿着控件的父控件链向上,返回下一个 ContainerControlReturns the next ContainerControl up the control's chain of parent controls.

public:
 System::Windows::Forms::IContainerControl ^ GetContainerControl();
public System.Windows.Forms.IContainerControl GetContainerControl ();
member this.GetContainerControl : unit -> System.Windows.Forms.IContainerControl
Public Function GetContainerControl () As IContainerControl

Returns

IContainerControl

IContainerControl,表示 Control 的父级。An IContainerControl, that represents the parent of the Control.

Applies to

See also