ComponentInformation.AddSubComponent(ComponentInformation) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將另一個元件新增為此元件的子元件
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。