System.ComponentModel.StringConverter Class

Provides a type converter to convert string objects to and from other representations.

See Also: StringConverter Members

Syntax

public class StringConverter : TypeConverter

Remarks

This converter can only convert to a string. It works as a pass through for other converters that want to convert an object to a string.

For more information about type converters, see the System.ComponentModel.TypeConverter base class and How to: Implement a Type Converter.

Note:

You should never create an instance of System.ComponentModel.StringConverter. Instead, call the TypeDescriptor.GetConverter(object) method of System.ComponentModel.TypeDescriptor. For more information, see the examples in the System.ComponentModel.TypeConverter base class.

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