Class WindowsRegistryValue
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents information for a registry value on a Windows based computer system.
public class WindowsRegistryValue : BaseTypeSection, IComparable<WindowsRegistryValue>
- Inheritance
-
WindowsRegistryValue
- Implements
Constructors
WindowsRegistryValue()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsRegistryValue class.
public WindowsRegistryValue()
Properties
DisplayName
Gets or sets the unique display name of this registry value.
public string DisplayName { get; set; }
Property Value
Information
Gets or sets information about this registry value.
public WindowsRegistryValueInformation Information { get; set; }
Property Value
Located
Gets or sets whether this registry value was located.
public BooleanOption Located { get; set; }
Property Value
SearchLocations
Gets or sets the search locations for the registry value.
public SerializableStringCollection SearchLocations { get; set; }
Property Value
- SerializableStringCollection
Methods
CompareTo(WindowsRegistryValue)
Compares two CENTREL.XIA.Configuration.Types.WindowsRegistryValue objects to allow sorting alphabetically by display name.
public int CompareTo(WindowsRegistryValue other)
Parameters
other
WindowsRegistryValueThe CENTREL.XIA.Configuration.Types.WindowsRegistryValue to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.WindowsRegistryValue objects.
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.WindowsRegistryValue class from the specified XML.
public static WindowsRegistryValue FromXml(string xml)
Parameters
xml
stringThe XML representation of the object.
Returns
- WindowsRegistryValue
A CENTREL.XIA.Configuration.Types.WindowsRegistryValue class.
ToString()
Returns the registry value as a human readable string.
public override string ToString()
Returns
- string
The registry value as a human readable string.