ICustomObjectConverter.ToString(Type, Object) Method
When implemented, serializes the specified object of the specified type.
Namespace: DevExpress.Utils.Serializing.Helpers
Assembly: DevExpress.Data.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
type | Type | A Type that specifies the type of the object to serialize. |
obj | Object | The object to serialize. |
Returns
Type | Description |
---|---|
String | A String that represents the serialized object. |
Remarks
The ICustomObjectConverter.FromString method must be implemented to deserialize objects.
For all types the converter can process, the ICustomObjectConverter.CanConvert method must return true; for other types, false.
See Also