Table of Contents

Class WindowsInstalledProgramCollection

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

Represents a collection of programs installed on a Windows machine.

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

Constructors

WindowsInstalledProgramCollection()

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

public WindowsInstalledProgramCollection()

Methods

ExistsDisplayName(string)

Determines whether a CENTREL.XIA.Configuration.Types.WindowsInstalledProgram with the specified display name exists within the collection.

public bool ExistsDisplayName(string displayName)

Parameters

displayName string

The display name of the CENTREL.XIA.Configuration.Types.WindowsInstalledProgram to locate - for example "Microsoft Office Professional Plus 2010".

Returns

bool

A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.WindowsInstalledProgram with the specified display name exists within the collection.

FindByDisplayName(string)

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

public WindowsInstalledProgram FindByDisplayName(string displayName)

Parameters

displayName string

The display name of the CENTREL.XIA.Configuration.Types.WindowsInstalledProgram to locate - for example "Microsoft Office Professional Plus 2010".

Returns

WindowsInstalledProgram

The CENTREL.XIA.Configuration.Types.WindowsInstalledProgram with the specified display name.

Sort()

Sorts the values in the collection.

public void Sort()