Bewerken

Share via


NestedContainer(IComponent) Constructor

Definition

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)

Parameters

owner
IComponent

The IComponent that owns this nested container.

Exceptions

owner is null.

Remarks

This constructor enlists in its owner's Disposed event so that the nested container's Dispose method will automatically be called.

Applies to

See also