Copies the elements of the Set to a new Array of the specified type.
An Array of the specified type containing copies of the elements of the Set.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | elementType is a null reference. |
| InvalidCastException | The element type of the source Set cannot be casted automatically to the specified type. |
Namespace: TechTalk.Genome
Assembly: TechTalk.Genome (in TechTalk.Genome.dll)
Version: 4.2.4.4
Editions: Professional, Evaluation, Express
Set Class | TechTalk.Genome Namespace | Set.ToArray Overload List