| CGISiIsMIMapFile Method |
Returns TRUE if file is a MapInfo MAP file.
Available since Oasis montaj version: 5.0.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
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).
Syntax public static int iIsMIMapFile(
string str1
)
Public Shared Function iIsMIMapFile (
str1 As String
) As Integer
public:
static int iIsMIMapFile(
String^ str1
)
static member iIsMIMapFile :
str1 : string -> int
Parameters
- str1
- Type: SystemString
Name of input map file
Return Value
Type:
Int32
0 if not a MapInfo MAP file
1 if it is.
See Also