XmlNamespace.

Prefix Property

Summary

The prefix to associate with the namespace.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Types
Containing Type
XmlNamespace

Syntax

[TaskAttribute("prefix", Required = true)]
[StringValidator(AllowEmpty = true)]
public string Prefix { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
StringValidatorAttribute Used to indicate whether a string property should allow an empty string value or not.

Value

Type Description
string