![](../icons/Help.png) | CSYSiFileExist Method |
Check to see if a file exists
Available since Oasis montaj version: 5.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
Use the FULL path for the file name. If the full
path is not specified, then the current working
directory is used for the path.
Syntaxpublic static int iFileExist(
CGXNETCore gxNetShared,
string file
)
Public Shared Function iFileExist (
gxNetShared As CGXNETCore,
file As String
) As Integer
public:
static int iFileExist(
CGXNETCore^ gxNetShared,
String^ file
)
static member iFileExist :
gxNetShared : CGXNETCore *
file : string -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - file
- Type: SystemString
Name of file to check
Return Value
Type:
Int32
0 - File doesn't exist
1 - File exists
See Also