Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ComponentConverter Class

Provides a type converter to convert components to and from various other representations.

For a list of all members of this type, see ComponentConverter Members.

System.Object
   System.ComponentModel.TypeConverter
      System.ComponentModel.ReferenceConverter
         System.ComponentModel.ComponentConverter

[Visual Basic]
Public Class ComponentConverter
   Inherits ReferenceConverter
[C#]
public class ComponentConverter : ReferenceConverter
[C++]
public __gc class ComponentConverter : public ReferenceConverter
[JScript]
public class ComponentConverter extends ReferenceConverter

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

This class implements GetPropertiesSupported and GetProperties by returning the properties through the GetProperties method of TypeDescriptor.

For more information about type converters, see the TypeConverter base class and Implementing a Type Converter.

Note   You should never create an instance of ComponentConverter. Instead, call the GetConverter method of TypeDescriptor. For more information, see the examples in the TypeConverter base class.

This converter converts an object that implements IComponent and displays its properties in the Properties window.

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

Assembly: System (in System.dll)

See Also

ComponentConverter Members | System.ComponentModel Namespace

Show:
© 2015 Microsoft