NAnt SDK Documentation - v0.92 |
|
ReadRegistryTask.PropertyPrefix Property
The prefix to use for the specified registry key values.
If this attribute is used then all registry values will be read and stored as properties with this prefix.
[Visual Basic]<TaskAttribute(Required:=False, Name:="prefix", ExpandProperties:=True, ProcessXml:=True)>
Overridable Public Property PropertyPrefix As
String [C#][TaskAttribute(Required=False, Name="prefix", ExpandProperties=True, ProcessXml=True)]
public virtual
string PropertyPrefix {get; set;}
Example
Registry values a, b, c will be turned into prefixa, prefixb, prefixc named properties
See Also
ReadRegistryTask Class | NAnt.Win32.Tasks Namespace