ICustomTypeDescriptor Interface
Provides an interface that supplies custom type information for an object.
For a list of all members of this type, see ICustomTypeDescriptor Members.
[Visual Basic] Public Interface ICustomTypeDescriptor [C#] public interface ICustomTypeDescriptor [C++] public __gc __interface ICustomTypeDescriptor [JScript] public interface ICustomTypeDescriptor
Classes that Implement ICustomTypeDescriptor
| Class | Description |
|---|---|
| AxHost | Wraps ActiveX controls and exposes them as fully featured Windows Forms controls. |
| DataRowView | Represents a customized view of a DataRow exposed as a fully featured Windows Forms control. |
| DbDataRecord | Implements IDataRecord and ICustomTypeDescriptor, and provides data binding support for DbEnumerator. |
Remarks
ICustomTypeDescriptor allows an object to provide type information about itself. Typically, this interface is used when an object needs dynamic type information. In contrast, TypeDescriptor provides static type information that is obtained from metadata.
For example, ICustomTypeDescriptor is used in the .NET Framework to provide type information for COM objects. COM objects do not support properties or attributes. The .NET Framework uses ICustomTypeDescriptor to implement properties and attributes for COM objects.
Requirements
Namespace: System.ComponentModel
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
Assembly: System (in System.dll)
See Also
ICustomTypeDescriptor Members | System.ComponentModel Namespace | TypeDescriptor