ArraySectionTCopyTo(T, Int32) Method
Copies the items of this
ArraySectionT to a compatible one-dimensional array, starting at a particular index.
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
public void CopyTo(
T[] target,
int targetIndex = 0
)
Public Sub CopyTo (
target As T(),
Optional targetIndex As Integer = 0
)
public:
virtual void CopyTo(
array<T>^ target,
int targetIndex = 0
) sealed
abstract CopyTo :
target : 'T[] *
?targetIndex : int
(* Defaults:
let _targetIndex = defaultArg targetIndex 0
*)
-> unit
override CopyTo :
target : 'T[] *
?targetIndex : int
(* Defaults:
let _targetIndex = defaultArg targetIndex 0
*)
-> unit
- target T
- The one-dimensional Array that is the destination of the elements copied from this ArraySectionT.
- targetIndex Int32 (Optional)
- The zero-based index in target at which copying begins. This parameter is optional.
Default value: 0.
ICollectionTCopyTo(T, Int32)