Click or drag to resize
CGUIIGetGSDirectory Method (CGXNETCore, Int32, String)
Return the directory path for value of <define>GS_DIRECTORY</define>.

Available since Oasis montaj version: 7.0
License: Available to anyone.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
Works along with the IGetFileFilter_GUI function. Note that most values of FILE_FILTER_XXX will return <define>GS_DIRECTORY_NONE</define>, and give the current workspace directory. This function is useful for constuction open/save dialog file filters, especially in GX.Net functions.
Syntax
public static void IGetGSDirectory(
	CGXNETCore gxNetShared,
	int path,
	ref string dir
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
path
Type: SystemInt32
<define>GS_DIRECTORY</define> Returned directory.
dir
Type: SystemString
Returned directory path
See Also