ConfigurationElementCollection to String Array

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I need to convert a collection that inherits
ConfigurationElementCollection to an array:

GoogleAjaxConfigurationElement[] c;
Platform.Configuration.Google.Ajax.Libraries.CopyTo(c, 0);

GoogleAjaxConfigurationElement inherits ConfigurationElement and it
has two properties: Name and Version.

I need to create a String[,] to hold all elements in the collection
and for each one hold the name and version.

I was trying to use Linq or some collection method but I am not sure
how.

And it would be great if I could do it directly from the
ConfigurationElementCollection
(Plataform.Configuration.Google.Ajax.Libraries).

How can I do this?

Thank You,

Miguel
 
Back
Top