AdvisableHashSet<T>.CopyTo Method (T[]) |
Copies the elements of an AdvisableHashSet<T> object to an array.
Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public void CopyTo( T[] array )
Parameters
- array
- Type: T[]
The one-dimensional array that is the destination of the elements copied from the AdvisableHashSet<T> object. The array must have zero-based indexing.
Exception | Condition |
---|---|
ArgumentNullException | array is null. |