共用方式為


ComponentInformation.AddSubComponent(ComponentInformation) 方法

定義

將另一個元件新增為此元件的子元件

public virtual void AddSubComponent (System.Device.ComponentInformation subComponent);
abstract member AddSubComponent : System.Device.ComponentInformation -> unit
override this.AddSubComponent : System.Device.ComponentInformation -> unit
Public Overridable Sub AddSubComponent (subComponent As ComponentInformation)

參數

subComponent
ComponentInformation

要新增的元件

例外狀況

要加入的元件為 Null。

適用於