Click or drag to resize

CGUIIGetGSDirectory Method (CGXNETCore, Int32, String, Int32)

Return the directory path for value of <define>GS_DIRECTORY</define>.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntax
public static void IGetGSDirectory(
	CGXNETCore gxNetShared,
	int path,
	ref string dir,
	int dir_size
)

public static void IGetGSDirectory(
	CGXNETCore gxNetShared,
	int path,
	ref string dir,
	int dir_size
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
path
Type: SystemInt32
<define>GS_DIRECTORY</define> Returned directory.
dir
Type: SystemString
Returned directory path
dir_size
Type: SystemInt32
Size of the directory path buffer
Remarks
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.
See Also