Solution: Class 'CVideoLibraryOrder' must implement 'Sub OnDeserialization(sender As Object)' for interface 'System.Runtime.Serialization.IDeserializationCallback'.
Sub IDeserializationCallback_Deserialize(ByVal sender As Object) Implements IDeserializationCallback.OnDeserialization
' Calculate the total after Deserialization
VTotal = VPrice * VQty
End Sub
Implements the ISerializable interface and is called back by the deserialization event when deserialization is complete.
No comments:
Post a Comment