System.ComponentModel.ITypeDescriptorContext

Provides contextual information about a component, such as its container and property descriptor.

See Also: ITypeDescriptorContext Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public interface ITypeDescriptorContext : IServiceProvider

Remarks

The System.ComponentModel.ITypeDescriptorContext interface provides contextual information about a component. System.ComponentModel.ITypeDescriptorContext is typically used at design time to provide information about a design-time container. This interface is commonly used in type conversion. For details, see System.ComponentModel.TypeConverter.

Note:

Do not rely on the presence of this interface when you design a type converter. If a particular interface, property, or service is necessary but not available, the type converter should return null rather than throw an exception. This interface's properties can return null at any time, and you should plan for this.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0