|   | StringParserFindIndex Method | 
        
        
            Finds the index of the first matching (or containing) field name
            
        
        Namespace: GSF.ParsingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
 Syntax
Syntaxpublic static int FindIndex(
	string fieldNameValueSought,
	string[] fieldNames,
	bool matchCase = true,
	bool contains = false
)
Public Shared Function FindIndex ( 
	fieldNameValueSought As String,
	fieldNames As String(),
	Optional matchCase As Boolean = true,
	Optional contains As Boolean = false
) As Integer
public:
static int FindIndex(
	String^ fieldNameValueSought, 
	array<String^>^ fieldNames, 
	bool matchCase = true, 
	bool contains = false
)
static member FindIndex : 
        fieldNameValueSought : string * 
        fieldNames : string[] * 
        ?matchCase : bool * 
        ?contains : bool 
(* Defaults:
        let _matchCase = defaultArg matchCase true
        let _contains = defaultArg contains false
*)
-> int GSF.Parsing.StringParser.FindIndex = function(fieldNameValueSought, fieldNames, matchCase, contains);
Parameters
- fieldNameValueSought  String
- the field name to find
- fieldNames  String
- the string array of fields
- matchCase  Boolean  (Optional)
- set to FALSE for case insensitive tests
- contains  Boolean  (Optional)
- Set to TRUE to find index that CONTAINS the fileNameValueSought
Return Value
Int32 See Also
See Also