Type: SystemType The Type that the substituted object should be assigned to.
Return Value
Type: Object The substituted object that will be serialized. The object must be serializable by the DataContractSerializer. For example, it must be marked with the DataContractAttribute attribute or other mechanisms that the serializer recognizes.