ReadRegistryTask.

PropertyPrefix Property

Summary

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.

Assembly
NAnt.Win32.dll
Namespace
NAnt.Win32.Tasks
Containing Type
ReadRegistryTask

Syntax

[TaskAttribute("prefix")]
public virtual string PropertyPrefix { get; set; }

Examples

Registry values a, b, c will be turned into prefixa, prefixb, prefixc named properties

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.

Value

Type Description
string