NAnt SDK Documentation - v0.92

EnvironmentVariableCollection.Contains Method (EnvironmentVariable)

Determines whether a EnvironmentVariable is in the collection.

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

Parameters

item
The EnvironmentVariable to locate in the collection.

Return Value

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

See Also

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