Class WindowsAntivirusProductCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of antivirus products installed on the Windows machine.
public class WindowsAntivirusProductCollection : Collection<WindowsAntivirusProduct>, IList<WindowsAntivirusProduct>, ICollection<WindowsAntivirusProduct>, IList, ICollection, IReadOnlyList<WindowsAntivirusProduct>, IReadOnlyCollection<WindowsAntivirusProduct>, IEnumerable<WindowsAntivirusProduct>, IEnumerable
- Inheritance
-
WindowsAntivirusProductCollection
- Implements
- Inherited Members
Constructors
WindowsAntivirusProductCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsAntivirusProductCollection class.
public WindowsAntivirusProductCollection()
Methods
Exists(WindowsAntivirusProductType)
Determines whether an antivirus product of the specified type exists within the collection.
public bool Exists(WindowsAntivirusProductType productType)
Parameters
productType
WindowsAntivirusProductTypeThe type of antivirus product to locate.
Returns
- bool
A System.Boolean value that indicates whether an antivirus product of the specified type exists within the collection.
Exists(Guid)
Determines whether an antivirus product with the specified identifier exists within the collection.
public bool Exists(Guid identifier)
Parameters
identifier
GuidThe identifier of antivirus product to locate.
Returns
- bool
A System.Boolean value that indicates whether an antivirus product with the specified identifier exists within the collection.
FindByIdentifier(Guid)
Returns the antivirus product with the specified identifier, or null if no antivirus product with the specified identifier is found.
public WindowsAntivirusProduct FindByIdentifier(Guid identifier)
Parameters
identifier
GuidThe identifier of antivirus product to locate.
Returns
- WindowsAntivirusProduct
The CENTREL.XIA.Configuration.Types.WindowsBackupProduct with the specified identifier.
FindByType(WindowsAntivirusProductType)
Returns the antivirus product of the specified type, or null if no antivirus product of the specified type is found.
public WindowsAntivirusProduct FindByType(WindowsAntivirusProductType productType)
Parameters
productType
WindowsAntivirusProductTypeThe type of antivirus product to locate.
Returns
- WindowsAntivirusProduct
The CENTREL.XIA.Configuration.Types.WindowsBackupProduct with the specified product type.
Sort()
Sorts the values in the collection.
public void Sort()