Class NetworkSwitchVlan
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an individual network switch VLAN.
public class NetworkSwitchVlan : GlobalSerializableClassicBase, IComparable<NetworkSwitchVlan>
- Inheritance
-
NetworkSwitchVlan
- Implements
Constructors
NetworkSwitchVlan()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.NetworkSwitchVlan class.
public NetworkSwitchVlan()
Properties
AssignedPorts
Gets or sets the indexes of the ports that are assigned to this VLAN.
public SerializableIntegerCollection AssignedPorts { get; set; }
Property Value
- SerializableIntegerCollection
Index
Gets or sets the index of VLAN.
public int Index { get; set; }
Property Value
IsSuspended
Gets or sets whether the VLAN is suspended.
public BooleanOption IsSuspended { get; set; }
Property Value
Mtu
Gets or sets the maximum transmission unit of the VLAN.
public int Mtu { get; set; }
Property Value
VlanName
Gets or sets the name of the VLAN.
public string VlanName { get; set; }
Property Value
Methods
CompareTo(NetworkSwitchVlan)
Compares two CENTREL.XIA.Configuration.Types.NetworkSwitchVlan objects to allow sorting by index.
public int CompareTo(NetworkSwitchVlan other)
Parameters
other
NetworkSwitchVlanThe CENTREL.XIA.Configuration.Types.NetworkSwitchVlan to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.NetworkSwitchVlan objects.
ToString()
Returns the VLAN as a human readable string.
public override string ToString()
Returns
- string
The VLAN as a human readable string.