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.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.
.NET Framework Security
- 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.