Click or drag to resize

StringParserExpectedFieldNamesMatch Method

Validates that expected field names match field names found.

Namespace: GSF.Parsing
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.254-beta+b1c32a8191971a5ec09744a3eb270cb5508e892c
Syntax
public static bool ExpectedFieldNamesMatch(
	string[] expectedFieldNames,
	string[] actualFieldNames,
	bool matchCase = true,
	int length = 0,
	int startIndex = 0
)
View Source

Parameters

expectedFieldNames  String
The string array of expected field names.
actualFieldNames  String
The string array of actual field names.
matchCase  Boolean  (Optional)
Set to TRUE to require case to match.
length  Int32  (Optional)
The number of fields to check. Less than 1 sets length to expectedFieldName length
startIndex  Int32  (Optional)
The index to use to start matching test.

Return Value

Boolean
See Also