I am creating a list programmatically using a custom list template called 'Our Meeting Rooms'. When I try to retrieve the list template using the following line of code it raises the exception that 'vale does not fall within the expected range'.
SPListTemplate listTemplate= web.ListTemplates ["Our Meeting Rooms"];
I can create a list through UI in SharePoint using the same template but for some reason it ican't be used in program.
Any suggestions please??