Table of Contents

Class WindowsRegistryKey

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

Represents information for a registry key on a Windows based computer system.

public class WindowsRegistryKey : BaseTypeSection, IComparable<WindowsRegistryKey>
Inheritance
WindowsRegistryKey
Implements

Constructors

WindowsRegistryKey()

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

public WindowsRegistryKey()

Properties

DisplayName

Gets or sets the unique display name of this registry key.

public string DisplayName { get; set; }

Property Value

string

Information

Gets or sets information about this registry key.

public WindowsRegistryKeyInformation Information { get; set; }

Property Value

WindowsRegistryKeyInformation

Located

Gets or sets whether this registry key was located.

public BooleanOption Located { get; set; }

Property Value

BooleanOption

SearchLocations

Gets or sets the search locations for the registry key.

public SerializableStringCollection SearchLocations { get; set; }

Property Value

SerializableStringCollection

Methods

CompareTo(WindowsRegistryKey)

Compares two CENTREL.XIA.Configuration.Types.WindowsRegistryKey objects to allow sorting alphabetically by display name.

public int CompareTo(WindowsRegistryKey other)

Parameters

other WindowsRegistryKey

The CENTREL.XIA.Configuration.Types.WindowsRegistryKey to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.WindowsRegistryKey objects.

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.WindowsRegistryKey class from the specified XML.

public static WindowsRegistryKey FromXml(string xml)

Parameters

xml string

The XML representation of the object.

Returns

WindowsRegistryKey

A CENTREL.XIA.Configuration.Types.WindowsRegistryKey class.

ToString()

Returns the registry key as a human readable string.

public override string ToString()

Returns

string

The registry key as a human readable string.