CollectionExtensionsCopyT Method
Returns a copy of the
Array.
Namespace: Gemstone.Collections.CollectionExtensionsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.110 -- Release Build+3e0464f4461df4d3e1175b13966eb47ff832554d
public static T[] Copy<T>(
this T[] source,
int startIndex,
int length
)
JavaScript does not support generic types or methods.
- source T
- The source Array whose elements are to be copied.
- startIndex Int32
- The source array index from where the elements are to be copied.
- length Int32
- The number of elements to be copied starting from the startIndex.
- T
- Type of the Array to be copied.
TAn
Array of elements copied from the specified portion of the source
Array.In Visual Basic and C#, you can call this method as an instance method on any object of type
T. 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).
Returned
Array will be extended as needed to make it the specified
length, but
it will never be less than the source
Array length -
startIndex.