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.TypeA 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataViewPropertyDescriptor Class