Pattern Property

NAnt SDK Documentation - v0.92 |

# Formatter.Pattern Property

The string pattern to use to format the property.

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

#### See Also

Formatter Class | NAnt.Core.Types Namespace