Click or drag to resize

CSYSiDeleteGridFile Method

Delete a grid file and its associated GI and XML files.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static int iDeleteGridFile(
	CGXNETCore gxNetShared,
	string file
)

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.
Remarks
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.
See Also