ArrayListToArray Method (Type) |
Namespace: System.Collections
public virtual Array ToArray( Type type )
Exception | Condition |
---|---|
ArgumentNullException | type is null. |
InvalidCastException | The type of the source ArrayList cannot be cast automatically to the specified type. |