Click or drag to resize
CSYSiDeleteGridFile Method
Delete a grid file and its associated GI and XML files.

Available since Oasis montaj version: 7.0
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
Deletes the grid file first, and, if they exist, the associated GI and XML files. No error is registered if a file is not found or cannot be deleted.
Syntax
public static int iDeleteGridFile(
	CGXNETCore gxNetShared,
	string file
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
file
Type: SystemString
Name of grid file to delete

Return Value

Type: Int32
0 if grid file deleted. 1 if grid file not found or if one or more files is found but could not be deleted.
See Also