NAnt SDK Documentation - v0.92 |

# OptionCollection.Contains Method (Option)

Determines whether a Option is in the collection.

[Visual Basic]
Overloads Public Function Contains( _
ByVal item As Option _
) As Boolean
[C#]
public bool Contains(
Option item
);

#### Parameters

item
  The Option to locate in the collection.

#### Return Value

true if item is found in the collection; otherwise, false.

#### See Also

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