Prefix Property

NAnt SDK Documentation - v0.92 |

# XmlNamespace.Prefix Property

The prefix to associate with the namespace.

[Visual Basic]
<StringValidator(AllowEmpty:=True, Expression:="null", ExpressionErrorMessage:="null"), _ TaskAttribute(Required:=True, Name:="prefix", ExpandProperties:=True, ProcessXml:=True)>
Public Property Prefix As String
[C#]
[StringValidator(AllowEmpty=True, Expression="null", ExpressionErrorMessage="null")]
[TaskAttribute(Required=True, Name="prefix", ExpandProperties=True, ProcessXml=True)]
public string Prefix {get; set;}

#### See Also

XmlNamespace Class | NAnt.Core.Types Namespace