![](../icons/Help.png) | CGUIiImportChemDatabase Method (CGXNETCore, IWin32Window, String, String, String, Int32, Int32) |
Generate a template file for importing Geochems Database.
Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntaxpublic static int iImportChemDatabase(
CGXNETCore gxNetShared,
IWin32Window owner,
string name,
string temp,
ref string table,
int table_size,
int type
)
Public Shared Function iImportChemDatabase (
gxNetShared As CGXNETCore,
owner As IWin32Window,
name As String,
temp As String,
ByRef table As String,
table_size As Integer,
type As Integer
) As Integer
public:
static int iImportChemDatabase(
CGXNETCore^ gxNetShared,
IWin32Window^ owner,
String^ name,
String^ temp,
String^% table,
int table_size,
int type
)
static member iImportChemDatabase :
gxNetShared : CGXNETCore *
owner : IWin32Window *
name : string *
temp : string *
table : string byref *
table_size : int *
type : int -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - owner
- Type: System.Windows.FormsIWin32Window
The IWin32Window the message box will display in front of. - name
- Type: SystemString
Data file name - temp
- Type: SystemString
Template to make - table
- Type: SystemString
Name of table - table_size
- Type: SystemInt32
Size of table name string - type
- Type: SystemInt32
<define>IMPCH_TYPE</define>
Return Value
Type:
Int32
0 - OK
-1 - Cancel
See Also