Click or drag to resize

CSYSiDeleteGridFile Method

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

Namespace:  GeoEngine.Core.GXNet
Assembly:  geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntax
public static int iDeleteGridFile(
	string file
)

public static int iDeleteGridFile(
	string file
)

Parameters

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