Component.Container 属性
定义
获取 IContainer,它包含 Component。Gets the IContainer that contains the Component.
public:
property System::ComponentModel::IContainer ^ Container { System::ComponentModel::IContainer ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.ComponentModel.IContainer Container { get; }
member this.Container : System.ComponentModel.IContainer
Public ReadOnly Property Container As IContainer
属性值
包含 IContainer 的 Component(如果有),如果 Component 未封装在 IContainer 中,则为 null
。The IContainer that contains the Component, if any, or null
if the Component is not encapsulated in an IContainer.
- 属性
注解
容器中的组件在先进先出列表中跟踪, 此列表还定义了组件在容器中的顺序。The components in a container are tracked in a first-in, first-out list, which also defines the order of the components within the container. 最后添加的组件是列表中的最后一个组件。The last component added is the last component in the list.