 | 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
Syntaxpublic static int iDeleteGridFile(
CGXNETCore gxNetShared,
string file
)
public static int iDeleteGridFile(
CGXNETCore gxNetShared,
string file
)
Public Shared Function iDeleteGridFile (
gxNetShared As CGXNETCore,
file As String
) As Integer
Public Shared Function iDeleteGridFile (
gxNetShared As CGXNETCore,
file As String
) As Integer
public:
static int iDeleteGridFile(
CGXNETCore^ gxNetShared,
String^ file
)
public:
static int iDeleteGridFile(
CGXNETCore^ gxNetShared,
String^ file
)
static member iDeleteGridFile :
gxNetShared : CGXNETCore *
file : string -> int
static member iDeleteGridFile :
gxNetShared : CGXNETCore *
file : string -> int
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