MyTypes.PurchaseOrder
type is created by applying the DataContractAttribute and DataMemberAttribute attributes to the class and its members.T
) is serializable or not. Because it must be possible to serialize all data members, the following type is serializable only if the generic type parameter is also serializable, as shown in the following code.