[]
Copies the elements of the ReportItemCollection to a new array.
public ReportItem[] ToArray()
Type | Description |
---|---|
ReportItem[] | An array of ReportItem objects containing copies of the elements in the ReportItemCollection. |
ReportItemCollection collection = new ReportItemCollection();
ReportItem[] array = collection.ToArray();