[This is preliminary documentation and is subject to change.]
Checks whether the file exists in a specified way (case-sensitive or case-insensitive).
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
Parameters
- fileInfo
- FileInfo
FileInfo object in question.
- caseSensitive
- Boolean
Whether check should be case-sensitive or case-insensitive.
Return Value
True if file exists, otherwise false.Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type FileInfo. When you use instance method syntax to call this method, omit the first parameter.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | fileInfo is null. |