 | copyCopyT Method |
Copy the
ICloneable while still conserving the type.
Namespace:
WhetStone.SystemExtensions
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntaxpublic static T Copy<T>(
this T this
)
where T : ICloneable
Parameters
- this
- Type: T
The ICloneable to copy.
Type Parameters
- T
- The type of the ICloneable.
Return Value
Type:
Tthis's clone converted to a
T.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also