NAnt SDK Documentation - v0.92

OptionCollection.Contains Method (String)

Determines whether a Option 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 Option should be located in the collection.

Return Value

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

See Also

OptionCollection Class | NAnt.Core.Types Namespace | OptionCollection.Contains Overload List