NAnt SDK Documentation - v0.92

TaskBuilderCollection.Contains Method (String)

Determines whether a TaskBuilder for the specified task is in the collection.

[Visual Basic]
Overloads Public Function Contains( _
   ByVal taskName As String _
) As Boolean
[C#]
public bool Contains(
   string taskName
);

Parameters

taskName
The name of task for which the TaskBuilder should be located in the collection.

Return Value

true if a TaskBuilder for the specified task is found in the collection; otherwise, false.

See Also

TaskBuilderCollection Class | NAnt.Core Namespace | TaskBuilderCollection.Contains Overload List