FailIfModified Property

NAnt SDK Documentation - v0.92 |

# TagTask.FailIfModified Property

Indicates whether the head revision should be used if the ActOnTag or the ActOnDate tags are not found.

[Visual Basic]
<TaskAttribute(Required:=False, Name:="fail-if-modified", ExpandProperties:=True, ProcessXml:=True), _ BooleanValidator>
Public Property FailIfModified As Boolean
[C#]
[TaskAttribute(Required=False, Name="fail-if-modified", ExpandProperties=True, ProcessXml=True)]
[BooleanValidator]
public bool FailIfModified {get; set;}

#### Property Value

true if the specified tag should be moved; otherwise, false. The default is false.

#### See Also

TagTask Class | NAnt.SourceControl.Tasks Namespace