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。

适用于