Share via


ObservableHashSet<T>.CopyTo Method

Definition

Overloads

CopyTo(T[])

Copies the elements of the hash set to an array.

CopyTo(T[], Int32)

Copies the elements of the hash set to an array, starting at the specified array index.

CopyTo(T[], Int32, Int32)

Copies the specified number of elements of the hash set to an array, starting at the specified array index.

CopyTo(T[])

Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs

Copies the elements of the hash set to an array.

public virtual void CopyTo (T[] array);
abstract member CopyTo : 'T[] -> unit
override this.CopyTo : 'T[] -> unit
Public Overridable Sub CopyTo (array As T())

Parameters

array
T[]

The one-dimensional array that is the destination of the elements copied from the hash set. The array must have zero-based indexing.

Applies to

CopyTo(T[], Int32)

Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs

Copies the elements of the hash set to an array, starting at the specified array index.

public virtual void CopyTo (T[] array, int arrayIndex);
abstract member CopyTo : 'T[] * int -> unit
override this.CopyTo : 'T[] * int -> unit
Public Overridable Sub CopyTo (array As T(), arrayIndex As Integer)

Parameters

array
T[]

The one-dimensional array that is the destination of the elements copied from the hash set. The array must have zero-based indexing.

arrayIndex
Int32

The zero-based index in array at which copying begins.

Implements

Applies to

CopyTo(T[], Int32, Int32)

Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs
Source:
ObservableHashSet.cs

Copies the specified number of elements of the hash set to an array, starting at the specified array index.

public virtual void CopyTo (T[] array, int arrayIndex, int count);
abstract member CopyTo : 'T[] * int * int -> unit
override this.CopyTo : 'T[] * int * int -> unit
Public Overridable Sub CopyTo (array As T(), arrayIndex As Integer, count As Integer)

Parameters

array
T[]

The one-dimensional array that is the destination of the elements copied from the hash set. The array must have zero-based indexing.

arrayIndex
Int32

The zero-based index in array at which copying begins.

count
Int32

The number of elements to copy to array.

Applies to