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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.