Class WindowsOptionalFeature
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a optional feature on a Windows machine.
public class WindowsOptionalFeature : BaseTypeSection, IComparable<WindowsOptionalFeature>
- Inheritance
-
WindowsOptionalFeature
- Implements
Constructors
WindowsOptionalFeature()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsOptionalFeature class.
public WindowsOptionalFeature()
Properties
DisplayName
Gets or sets the display name of the optional feature.
public string DisplayName { get; set; }
Property Value
InstallState
Gets or sets the install state of the optional feature.
public WindowsOptionalFeatureInstallState InstallState { get; set; }
Property Value
InstallStateString
Gets the install state of the optional feature as a human readable string.
public string InstallStateString { get; set; }
Property Value
Name
Gets or sets the unique name of the optional feature.
public string Name { get; set; }
Property Value
Methods
Clone()
Returns a CENTREL.XIA.Configuration.Types.WindowsOptionalFeature cloned from this object.
public WindowsOptionalFeature Clone()
Returns
- WindowsOptionalFeature
A CENTREL.XIA.Configuration.Types.WindowsOptionalFeature.
CompareTo(WindowsOptionalFeature)
Compares two CENTREL.XIA.Configuration.Types.WindowsOptionalFeature objects to allow sorting alphabetically by display name.
public int CompareTo(WindowsOptionalFeature other)
Parameters
other
WindowsOptionalFeatureThe CENTREL.XIA.Configuration.Types.WindowsOptionalFeature to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.WindowsOptionalFeature objects.