NAnt SDK Documentation - v0.92 |

# Project.CreateTask Method (XmlNode)

Creates a new from the given XmlNode.

[Visual Basic]
Overloads Public Function CreateTask( _
ByVal taskNode As XmlNode _
) As Task
[C#]
public Task CreateTask(
XmlNode taskNode
);

#### Parameters

taskNode
  The Task definition.

#### Return Value

The new Task instance.

#### See Also

Project Class | NAnt.Core Namespace | Project.CreateTask Overload List