 | SerializationUtilsDeepCopyT Method |
Makes a deep copy of the specified object by serializing and deserializing the specified object.
Namespace: Slash.Serialization.UtilsAssembly: Slash.Serialization (in Slash.Serialization.dll) Version: 1.0.6018.40176
Syntaxpublic static T DeepCopy<T>(
T obj
)
Public Shared Function DeepCopy(Of T) (
obj As T
) As T
public:
generic<typename T>
static T DeepCopy(
T obj
)
static member DeepCopy :
obj : 'T -> 'T
Parameters
- obj
- Type: T
Object to copy.
Type Parameters
- T
- Type to copy.
Return Value
Type:
T A deep copy of the specified object.
See Also