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
Syntaxpublic static AdditionalOption[] AdditionalOptions { get; }Property Value
Type:
AdditionalOption
Exceptions
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)
{
}
catch (System.Exception ee)
{
}
}
See Also