VirtualFileSystemExists Method |
Determine the existance of a script.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic bool Exists(
string scriptPath
)
Public Function Exists (
scriptPath As String
) As Boolean
public:
virtual bool Exists(
String^ scriptPath
) sealed
Parameters
- scriptPath String
-
The path of the script which is always in canonical form as returned by the Combine method.
Return Value
Boolean
True, if the script exists.
Implements
IVirtualFileSystemExists(String)
Remarks
Implement this method to determine if a script exists.
Example
IVirtualFileSystem implementation which uses the normal file system.
public bool Exists(string scriptPath)
{
return File.Exists(scriptPath);
}
Function Exists(ByVal scriptPath As String) As Boolean
Return File.Exists(scriptPath)
End Function
See Also