DataViewPropertyDescriptor.SetConverterType Method (String)

Adds a TypeConverterAttribute, using the specified type name 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 String _
)
'使用
Dim instance As DataViewPropertyDescriptor
Dim value As String

instance.SetConverterType(value)
public void SetConverterType(
    string value
)
public:
void SetConverterType(
    String^ value
)
public function SetConverterType(
    value : String
)

Parameters

  • value
    Type: System.String

    The fully qualified name of the 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