IRegistryClass.ClassesRoot

Syntax

ClassesRoot: IRegistryKey;

Description

The ClassesRoot property returns the registry key containing data that provides opening of necessary program while opening the file.

Example

Sub UserProc;
Var
    RegKey: IRegistryKey;
Begin
    RegKey := RegistryClass.ClassesRoot;
    Debug.WriteLine(RegKey.Name);
End Sub UserProc;

After executing the example the development environment console displays name of the key that contains data that provides opening of necessary program while opening the file.

See also:

IRegistryClass