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.

適用於

另請參閱