 | CGISiIsMIMapFile Method |
Returns TRUE if file is a MapInfo MAP file.
Namespace:
GeoEngine.Core.GXNet
Assembly:
geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static int iIsMIMapFile(
string map
)
public static int iIsMIMapFile(
string map
)
Public Shared Function iIsMIMapFile (
map As String
) As Integer
Public Shared Function iIsMIMapFile (
map As String
) As Integer
public:
static int iIsMIMapFile(
String^ map
)
public:
static int iIsMIMapFile(
String^ map
)
static member iIsMIMapFile :
map : string -> int
static member iIsMIMapFile :
map : string -> int
Parameters
- map
- Type: SystemString
Name of input map file
Return Value
Type:
Int32
0 if not a MapInfo MAP file
1 if it is.
Remarks
It is important not to overwrite a MapInfo MAP file
with a Geosoft one. Use this function to test the MAP
file (looks at the first few bytes).
See Also