Extensions.Clone<TValue>(TValue[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Clones the values of an array, assuming that each element is a value type.
public static TValue[] Clone<TValue> (this TValue[] array);
static member Clone : 'Value[] -> 'Value[]
<Extension()>
Public Function Clone(Of TValue) (array As TValue()) As TValue()
Type Parameters
- TValue
Parameters
- array
- TValue[]
Input array to clone.
Returns
- TValue[]
A deep copy of this object.