TypeConverterAttribute Constructor (Type)

 

Initializes a new instance of the TypeConverterAttribute class, using the specified type as the data converter for the object this attribute is bound to.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public TypeConverterAttribute(
	Type type
)

Parameters

type
Type: System.Type

A Type that represents the type of the converter class to use for data conversion for the object this attribute is bound to.

The class that provides the data conversion must inherit from TypeConverter.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: