Summary
The registry key to read, including the path.
- Assembly
- NAnt
.Win32 .dll - Namespace
- NAnt
.Win32 .Tasks - Containing Type
- ReadRegistryTask
Syntax
[TaskAttribute("key", Required = true)]
[StringValidator(AllowEmpty = false)]
public virtual string RegistryKey { get; set; }
Examples
SOFTWARE\Microsoft\.NETFramework\sdkInstallRoot
Attributes
Type | Description |
---|---|
Task |
Indicates that property should be treated as a XML attribute for the task. |
String |
Used to indicate whether a string property should allow
an empty string value or not.
|
Value
Type | Description |
---|---|
string |