[This is preliminary documentation and subject to change.]
Searches for the specified string and returns the zero-based index of the first occurrence within the DirScannerStringCollection.
The zero-based index of the first occurrence of value in the DirScannerStringCollection, if found; otherwise, -1.
String comparisons within the DirScannerStringCollection are only case-sensitive if the filesystem on which value is located, is case-sensitive.
DirScannerStringCollection Class | NAnt.Core Namespace