Click or drag to resize

IVirtualFileSystemExists Method

Determine the existance of a script.

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
bool Exists(
	string scriptPath
)

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.
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);
}
See Also