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

'宣言
Public Sub SetConverterType ( _
    value As Type _
)
'使用
Dim instance As DataViewPropertyDescriptor
Dim value As Type

instance.SetConverterType(value)
public void SetConverterType(
    Type value
)
public:
void SetConverterType(
    Type^ value
)
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.

Permissions

See Also

Reference

DataViewPropertyDescriptor Class

DataViewPropertyDescriptor Members

SetConverterType Overload

Microsoft.VisualStudio.Data.Framework Namespace