Class SnmpTrapCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of SNMP traps.
public class SnmpTrapCollection : Collection<SnmpTrap>, IList<SnmpTrap>, ICollection<SnmpTrap>, IList, ICollection, IReadOnlyList<SnmpTrap>, IReadOnlyCollection<SnmpTrap>, IEnumerable<SnmpTrap>, IEnumerable
- Inheritance
-
SnmpTrapCollection
- Implements
- Inherited Members
Constructors
SnmpTrapCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.SnmpTrapCollection class.
public SnmpTrapCollection()
Methods
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.SnmpTrapCollection class from the specified XML.
public static SnmpTrapCollection FromXml(string Xml)
Parameters
Xml
stringThe XML representation of the object.
Returns
- SnmpTrapCollection
A CENTREL.XIA.Configuration.Types.SnmpTrapCollection class.
Sort()
Sorts the values in the collection.
public void Sort()
ToXml()
Returns the XML representation of this CENTREL.XIA.Configuration.Types.SnmpTrapCollection.
public string ToXml()
Returns
- string
The CENTREL.XIA.Configuration.Types.SnmpTrapCollection in XML format.