Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax protected T Clone<T>(
T oldObject
)
where T : class
Protected Function Clone(Of T As Class) (
oldObject As T
) As T
protected:
generic<typename T>
where T : ref class
T Clone(
T oldObject
)
member Clone :
oldObject : 'T -> 'T when 'T : not struct
Parameters
- oldObject
- Type: T
The object to clone.
Type Parameters
- T
- The type of the object to clone.
Return Value
Type:
TThe newly-cloned object.
Exceptions See Also