NestedContainer(IComponent) NestedContainer(IComponent) NestedContainer(IComponent) NestedContainer(IComponent) Constructor

Definición

Inicializa una nueva instancia de la clase NestedContainer.Initializes a new instance of the NestedContainer class.

public:
 NestedContainer(System::ComponentModel::IComponent ^ owner);
public NestedContainer (System.ComponentModel.IComponent owner);
new System.ComponentModel.NestedContainer : System.ComponentModel.IComponent -> System.ComponentModel.NestedContainer
Public Sub New (owner As IComponent)

Parámetros

owner
IComponent IComponent IComponent IComponent

Interfaz IComponent propietaria del contenedor anidado.The IComponent that owns this nested container.

Excepciones

Comentarios

Este constructor da de alta en el evento de Disposed su propietario para que se llame automáticamente al Dispose método del contenedor anidado.This constructor enlists in its owner's Disposed event so that the nested container's Dispose method will automatically be called.

Se aplica a

Consulte también: