ITypeDescriptorContext.Container Property

Definition

Gets the container representing this TypeDescriptor request.

public:
 property System::ComponentModel::IContainer ^ Container { System::ComponentModel::IContainer ^ get(); };
public System.ComponentModel.IContainer Container { get; }
member this.Container : System.ComponentModel.IContainer
Public ReadOnly Property Container As IContainer

Property Value

An IContainer with the set of objects for this TypeDescriptor; otherwise, null if there is no container or if the TypeDescriptor does not use outside objects.

Remarks

The Container property gets the logical container of the component associated with the type descriptor.

Applies to

See also