NAnt SDK Documentation - v0.92 |
|
ReadRegistryTask.RegistryKey Property
The registry key to read, including the path.
[Visual Basic]
<StringValidator(AllowEmpty:=False, Expression:="null", ExpressionErrorMessage:="null"), _
TaskAttribute(Required:=True, Name:="key", ExpandProperties:=True, ProcessXml:=True)>
Overridable Public Property RegistryKey As
String
[C#]
[StringValidator(AllowEmpty=False, Expression="null", ExpressionErrorMessage="null")]
[TaskAttribute(Required=True, Name="key", ExpandProperties=True, ProcessXml=True)]
public virtual
string RegistryKey {get; set;}
Example
SOFTWARE\Microsoft\.NETFramework\sdkInstallRoot
See Also
ReadRegistryTask Class | NAnt.Win32.Tasks Namespace