NAnt SDK Documentation - v0.92

RTagTask.MoveIfExists Property

Indicates whether the tag specified in Tag should be moved to the current file revision. If the tag does not exist then it is created.

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

Property Value

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

See Also

RTagTask Class | NAnt.SourceControl.Tasks Namespace