Click or drag to resize
CGUIiFileFilterIndex Method
Return the FILE_FILTER_XXX value for a file filter string.

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

Namespace: Geosoft.Desktop.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
For example, if "Database (*.gdb)" is input, then the FILE_FILTER_GDB value is returned.
Syntax
public static int iFileFilterIndex(
	string str1
)

Parameters

str1
Type: SystemString
Input filter string

Return Value

Type: Int32
See FILE_FILTERConstant, -1 if not found
See Also