Control.GetContainerControl Control.GetContainerControl Control.GetContainerControl Control.GetContainerControl Method

定义

沿着控件的父控件链向上,返回下一个 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

返回

安全性

UIPermission
适用于所有窗口调用此方法。for all windows to call this method. 关联的AllWindows UIPermissionWindow枚举: 值。Associated enumeration: AllWindows value of UIPermissionWindow.

适用于

另请参阅