NestedContainer(IComponent) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.