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.181-beta
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