Class WindowsRegistryValueInformation
- 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 WindowsRegistryValueInformation : BypassSection, IComparable<WindowsRegistryValueInformation>
- Inheritance
-
WindowsRegistryValueInformation
- Implements
- Inherited Members
Constructors
WindowsRegistryValueInformation()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsRegistryValueInformation class.
public WindowsRegistryValueInformation()
Properties
ParentKey
Gets or sets the name of the parent key - for example "HKEY_LOCAL_MACHINE\SOFTWARE".
public string ParentKey { get; set; }
Property Value
Value
Gets or sets the configured value.
public object Value { get; set; }
Property Value
ValueName
Gets or sets the name of the value.
public string ValueName { get; set; }
Property Value
ValueString
Gets or sets the human readable version of the value.
public string ValueString { get; set; }
Property Value
ValueType
Gets or sets the type of value.
public WindowsRegistryValueType ValueType { get; set; }
Property Value
Methods
CompareTo(WindowsRegistryValueInformation)
Compares two CENTREL.XIA.Configuration.Types.WindowsRegistryValueInformation objects to sort by value name.
public int CompareTo(WindowsRegistryValueInformation other)
Parameters
other
WindowsRegistryValueInformationThe CENTREL.XIA.Configuration.Types.WindowsRegistryValueInformation to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.WindowsRegistryValueInformation objects.
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.WindowsRegistryValueInformation class from the specified XML.
public static WindowsRegistryValueInformation FromXml(string xml)
Parameters
xml
stringThe XML representation of the object.
Returns
- WindowsRegistryValueInformation
A CENTREL.XIA.Configuration.Types.WindowsRegistryValueInformation 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.