| 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.GXNetAssembly: 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
)
Public Shared Function iFileFilterIndex (
str1 As String
) As Integer
public:
static int iFileFilterIndex(
String^ str1
)
static member iFileFilterIndex :
str1 : string -> int
Parameters
- str1
- Type: SystemString
Input filter string
Return Value
Type:
Int32See
FILE_FILTERConstant, -1 if not found
See Also