Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

roConfigurationElements provides an interface to enumerate configuration items which are accessed using a class which requires a name or index for construction. In these cases it is awkward to provide an enumeration as part of the class, since at least one valid name/index must be known to create an instance.

Object Creation: The roConfigurationElements object is created with no parameters.

Code Block
languagejs
CreateObject("roConfigurationElements")

ifConfigurationElements

GetConfiguredNetworks()

This returns an roArray of configured interface names. These include both explicitly configured networks, and interfaces using the default configuration (DHCP).

Example
Code Block
config_elements = CreateObject("roConfigurationElements")
iface_array = config_elements.GetConfiguredNetworks()
For Each iface in iface_array: print iface: Next
Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px