 | CGUIIGetGSDirectory Method (Int32, String, Int32) |
Return the directory path for value of <define>GS_DIRECTORY</define>.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void IGetGSDirectory(
int path,
ref string dir,
int dir_size
)
public static void IGetGSDirectory(
int path,
ref string dir,
int dir_size
)
Public Shared Sub IGetGSDirectory (
path As Integer,
ByRef dir As String,
dir_size As Integer
)
Public Shared Sub IGetGSDirectory (
path As Integer,
ByRef dir As String,
dir_size As Integer
)
public:
static void IGetGSDirectory(
int path,
String^% dir,
int dir_size
)
public:
static void IGetGSDirectory(
int path,
String^% dir,
int dir_size
)
static member IGetGSDirectory :
path : int *
dir : string byref *
dir_size : int -> unit
static member IGetGSDirectory :
path : int *
dir : string byref *
dir_size : int -> unit
Parameters
- 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