ComponentSpace Registry Toolkit Class Library Reference

RegistryWatcher Constructor (String, Boolean)

Initializes a new instance of the RegistryWatcher class with the specified key to watch and a flag indicating whether the key's subtree should also be watched.

[Visual Basic]
Overloads Public Sub New( _
   ByVal keyName As String, _
   ByVal watchSubtree As Boolean _
)
[C#]
public RegistryWatcher(
   string keyName,
   bool watchSubtree
);

Parameters

keyName
The name of the key to watch.
watchSubtree
true is the key's subtree is to be watched as well; false is the subtree isn't to be watched

See Also

RegistryWatcher Class | ComponentSpace.RegistryToolkit Namespace | RegistryWatcher Constructor Overload List