ICustomObjectConverter.CanConvert(Type) Method

When implemented, returns whether the converter can serialize/deserialize objects of the specified type.

Namespace: DevExpress.Utils.Serializing.Helpers

Assembly: DevExpress.Data.v20.1.dll

Declaration

bool CanConvert(
    Type type
)
Function CanConvert(
    type As Type
) As Boolean

Parameters

Name Type Description
type Type

A Type that specifies the type to check.

Returns

Type Description
Boolean

true if the converter can serialize/deserialize objects of the specified type; otherwise, false.

Remarks

The ICustomObjectConverter.ToString and ICustomObjectConverter.FromString methods must be implemented to serialize and deserialize objects, respectively.

See Also