Component.Container Property
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.
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; }
[System.ComponentModel.Browsable(false)]
public System.ComponentModel.IContainer Container { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Container : System.ComponentModel.IContainer
Public ReadOnly Property Container As IContainer
Property Value
The IContainer that contains the Component, if any, or null
if the Component is not encapsulated in an IContainer.
- Attributes
Remarks
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. The last component added is the last component in the list.
Applies to
See also
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по