Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections Namespace / Advisable­Hash­Set(T) Class / Advisable­Hash­Set(T) Methods / Advisable­Hash­Set(T).​Copy­To Method / Advisable­Hash­Set(T).​Copy­To Method (T[])

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: 5.0.51.0 (5.0.51.0)
Syntax
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.
Exceptions
ExceptionCondition
ArgumentNullExceptionarray is null.
See Also