menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Struct RegistryEntry - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Struct RegistryEntry

    A structure that represents a location in the registry.

    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    Namespace: Syncfusion.Win32
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public struct RegistryEntry
    Remarks

    This is a simple structure that refers to a Registry location through the root RegistryKey and the subkey.

    Constructors

    RegistryEntry(RegistryKey, String)

    Creates a new instance of the RegistryEntry class and initializes it with the root RegistryKey and subkey.

    Declaration
    public RegistryEntry(RegistryKey key, string subkey)
    Parameters
    Type Name Description
    Microsoft.Win32.RegistryKey key

    The root RegistryKey.

    System.String subkey

    The subkey string.

    Properties

    SourceRegistryKey

    Gets / sets the root RegistryKey.

    Declaration
    public RegistryKey SourceRegistryKey { get; set; }
    Property Value
    Type Description
    Microsoft.Win32.RegistryKey

    A RegistryKey value.

    SourceRegistrySubKey

    Gets /sets the subkey under the root RegistryKey.

    Declaration
    public string SourceRegistrySubKey { get; set; }
    Property Value
    Type Description
    System.String

    A string value representing the subkey.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved