![](../icons/Help.png) | 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.GXNetXAssembly: 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.
Syntaxpublic static void IGetGSDirectory(
CGXNETCore gxNetShared,
int path,
ref string dir
)
Public Shared Sub IGetGSDirectory (
gxNetShared As CGXNETCore,
path As Integer,
ByRef dir As String
)
public:
static void IGetGSDirectory(
CGXNETCore^ gxNetShared,
int path,
String^% dir
)
static member IGetGSDirectory :
gxNetShared : CGXNETCore *
path : int *
dir : string byref -> unit
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