List<Plugininterface.Datatypes.Layerdatastruct> Ldata = exec.Getlayerslist(true);
MessageBox.Show("" + Ldata[1].Isactive); //Shows the Isactive property of the first layer in the List.

     