Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft