Returns a list of filtered configuration section names. The filter is based on the config type of the section, if the configuration section matches the config type specified then it will appear in the list.

Parameters:

configType

The type of configuration being sought.

Return Value:

The list of configuration names of the specified type.

Interface Signature:

IList<string> GetConfigListByType(EConfigType configType);


An example of how this function could be used is shown below.

If a list of FCMs is desired then one would use the function as such:

using System;

namespace Example
{
   /// <summary>
   /// An simple example of how to utilize the API and get a reference to it
   /// </summary>
   public class ExampleClass
   {
       /// <summary>
       /// Get All FCMs names defined
       /// </summary>
       public static IList<string> ListOfDefinedFcm()
       {
           // Get a reference to the API interface
           AteSystems.InCal.IApi api = AteSystems.InCal.API.Initialize(@"C:\Temp\MyConfig.ini", catchExceptions:true);
           // Call the API function
           return api.GetConfigListByType(EConfigType.Fcm);
       }
   }
}