![](../icons/Help.png) | CEDOCUnLoadDiscard Method |
Unloads a document in the workspace, discards changes.
Available since Oasis montaj version: 5.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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
NotesIf the document is not loaded, nothing happens.
Syntaxpublic static void UnLoadDiscard(
CGXNETCore gxNetShared,
string name,
int type
)
Public Shared Sub UnLoadDiscard (
gxNetShared As CGXNETCore,
name As String,
type As Integer
)
public:
static void UnLoadDiscard(
CGXNETCore^ gxNetShared,
String^ name,
int type
)
static member UnLoadDiscard :
gxNetShared : CGXNETCore *
name : string *
type : int -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - name
- Type: SystemString
Name of document to unload - type
- Type: SystemInt32
<define>EDOC_TYPE</define>
See Also