Click or drag to resize

DataConverter Methods

The DataConverter type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAdd Adds a data converter for the specified type to the registry.
Public methodStatic memberCanConvert Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
Public methodCanConvertFrom Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
Public methodCanConvertTo Returns whether this converter can convert an object to the specified type.
Public methodStatic memberClear Clears the registry.
Public methodStatic memberFindConverters Returns a list of registered data converters registered with the specified type.
Public methodStatic memberGetConverter Returns a function that will convert a value from one type to another.
Public methodGetConvertFrom Returns a function that converts the given object to the type of this converter, using the specified context.
Public methodGetConvertTo Returns a function that converts the given value to the specified type, using the specified context.
Public methodStatic memberRemove Removes a data converter for the specified type from the registry.
Top
See Also