Table of Contents

Class WindowsPatchCollection

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a collection of patches on a Windows machine.

public class WindowsPatchCollection : Collection<WindowsPatch>, IList<WindowsPatch>, ICollection<WindowsPatch>, IList, ICollection, IReadOnlyList<WindowsPatch>, IReadOnlyCollection<WindowsPatch>, IEnumerable<WindowsPatch>, IEnumerable
Inheritance
WindowsPatchCollection
Implements
Inherited Members

Constructors

WindowsPatchCollection()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsPatchCollection class.

public WindowsPatchCollection()

Methods

ExistsById(string)

Determines whether a CENTREL.XIA.Configuration.Types.WindowsPatch with the specified HotFixId is found in the collection.

public bool ExistsById(string id)

Parameters

id string

The HotFixId of the CENTREL.XIA.Configuration.Types.WindowsPatch to locate.

Returns

bool

A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.WindowsPatch with the specified HotFixId is found in the collection..

FindById(string)

Returns the CENTREL.XIA.Configuration.Types.WindowsPatch with the specified name, or null if no CENTREL.XIA.Configuration.Types.WindowsPatch with that HotFixId is found.

public WindowsPatch FindById(string id)

Parameters

id string

The HotFixId of the CENTREL.XIA.Configuration.Types.WindowsPatch to locate.

Returns

WindowsPatch

The CENTREL.XIA.Configuration.Types.WindowsPatch with the specified HotFixId.

Sort()

Sorts the values in the collection.

public void Sort()