Class NetworkSwitchVlanCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of network switch VLANs.
public class NetworkSwitchVlanCollection : Collection<NetworkSwitchVlan>, IList<NetworkSwitchVlan>, ICollection<NetworkSwitchVlan>, IList, ICollection, IReadOnlyList<NetworkSwitchVlan>, IReadOnlyCollection<NetworkSwitchVlan>, IEnumerable<NetworkSwitchVlan>, IEnumerable
- Inheritance
-
NetworkSwitchVlanCollection
- Implements
- Inherited Members
Constructors
NetworkSwitchVlanCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.NetworkSwitchVlanCollection class.
public NetworkSwitchVlanCollection()
Methods
FindByIndex(int)
Returns the VLAN with the specified index, or null if no VLAN with that index is found within the collection.
public NetworkSwitchVlan FindByIndex(int index)
Parameters
index
intThe unique index of the VLAN.
Returns
- NetworkSwitchVlan
A CENTREL.XIA.Configuration.Types.NetworkSwitchVlan with the specified index.
GetActiveVlanIndexes()
Gets the indexes of the configured VLANs that are active (not suspended).
public SerializableIntegerCollection GetActiveVlanIndexes()
Returns
- SerializableIntegerCollection
A CENTREL.Support.SerializableIntegerCollection containing indexes of the configured VLANs.
Sort()
Sorts the values in the collection.
public void Sort()