IVirtualFileSystemExists Method |
Determine the existance of a script.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxbool Exists(
string scriptPath
)
Function Exists (
scriptPath As String
) As Boolean
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);
}
Function Exists(ByVal scriptPath As String) As Boolean
Return File.Exists(scriptPath)
End Function
See Also