Share via


DataViewPropertyDescriptor.SetConverterType Method (Type)

Adds a TypeConverterAttribute, using the specified type as the data converter for the property descriptor.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Sub SetConverterType ( _
    value As Type _
)
public void SetConverterType(
    Type value
)
public:
void SetConverterType(
    Type^ value
)
member SetConverterType : 
        value:Type -> unit
public function SetConverterType(
    value : Type
)

Parameters

  • value
    Type: System.Type

    A Type that represents the type of the converter class to use for data conversion for this property descriptor

Remarks

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

.NET Framework Security

See Also

Reference

DataViewPropertyDescriptor Class

SetConverterType Overload

Microsoft.VisualStudio.Data.Framework Namespace