NAnt SDK Documentation - v0.85-nightly-2005-11-09

DirScannerStringCollection.Contains Method 

[This is preliminary documentation and subject to change.]

Determines whether the specified string is in the DirScannerStringCollection.

[Visual Basic]
Overridable Public Function Contains( _
   ByVal value As String _
) As Boolean
[C#]
new public virtual bool Contains(
   string value
);

Parameters

value
The string to locate in the DirScannerStringCollection. The value can be a null reference (Nothing in Visual Basic).

Return Value

if value is found in the DirScannerStringCollection; otherwise, false.

Remarks

String comparisons within the DirScannerStringCollection are only case-sensitive if the filesystem on which value is located, is case-sensitive.

See Also

DirScannerStringCollection Class | NAnt.Core Namespace