Click or drag to resize

SystemInfoAdditionalOptions Property

Returns the installed additional options of the active system. If there are no additional options null is returned.

Namespace:  ABB.Robotics.Controllers.SystemInfoDomain
Assembly:  ABB.Robotics.Controllers (in ABB.Robotics.Controllers.dll) Version: 6.5.129.0
Syntax
C#
public static AdditionalOption[] AdditionalOptions { get; }

Property Value

Type: AdditionalOption
Exceptions
ExceptionCondition
GeneralExceptionA General Exception has occurred.
Examples
This example gets the installed additional options of the current robot system and displays information about these in a listview.
private void ShowOptions()
{
  try
  {
    ABB.Robotics.Controllers.SystemInfoDomain.AdditionalOption[] addOptions = null;
    addOptions = ABB.Robotics.Controllers.SystemInfoDomain.SystemInfo.AdditionalOptions;
    if (addOptions != null)
    {
      for (int i = 0; i < addOptions.Length; i++)
      {
        ListViewItem item;
        item = new ListViewItem(addOptions[i].Name);
        listView1.Items.Add(item);
        item.SubItems.Add(addOptions[i].Key);
        item.SubItems.Add(addOptions[i].Path);
        item.SubItems.Add(addOptions[i].VersionInfo.ToString());
      }
    }
  }
  catch (GeneralException ee)
  {
    // TODO: Add error handling
  }
  catch (System.Exception ee)
  {
    // TODO: Add error handling
  }
}
See Also