Component.Container Property

Definition

Obtiene la interfaz IContainer que contiene la clase 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

Property Value

IContainer

Interfaz IContainer que contiene el objeto Component, en caso de que exista, o null si el objeto Component no está encapsulado en una interfaz IContainer.The IContainer that contains the Component, if any, or null if the Component is not encapsulated in an IContainer.

Attributes

Remarks

Se realiza un seguimiento de los componentes de un contenedor en una lista de primero en salir, que también define el orden de los componentes dentro del contenedor.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. El último componente agregado es el último componente de la lista.The last component added is the last component in the list.

Applies to

See also