Click or drag to resize
CEDOCUnLoadDiscard Method
Unloads a document in the workspace, discards changes.

Available since Oasis montaj version: 5.0.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.  
License: Available to anyone.  

Namespace: Geosoft.Desktop.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
If the document is not loaded, nothing happens.
Syntax
public static void UnLoadDiscard(
	string str1,
	int i2
)

Parameters

str1
Type: SystemString
Name of document to unload
i2
Type: SystemInt32
See EDOC_TYPEConstant
See Also