|
StringParserExpectedFieldNamesMatch Method
|
Validates that expected field names match field names found.
Namespace: GSF.ParsingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax public static bool ExpectedFieldNamesMatch(
string[] expectedFieldNames,
string[] actualFieldNames,
bool matchCase = true,
int length = 0,
int startIndex = 0
)
Public Shared Function ExpectedFieldNamesMatch (
expectedFieldNames As String(),
actualFieldNames As String(),
Optional matchCase As Boolean = true,
Optional length As Integer = 0,
Optional startIndex As Integer = 0
) As Boolean
public:
static bool ExpectedFieldNamesMatch(
array<String^>^ expectedFieldNames,
array<String^>^ actualFieldNames,
bool matchCase = true,
int length = 0,
int startIndex = 0
)
static member ExpectedFieldNamesMatch :
expectedFieldNames : string[] *
actualFieldNames : string[] *
?matchCase : bool *
?length : int *
?startIndex : int
(* Defaults:
let _matchCase = defaultArg matchCase true
let _length = defaultArg length 0
let _startIndex = defaultArg startIndex 0
*)
-> bool
GSF.Parsing.StringParser.ExpectedFieldNamesMatch = function(expectedFieldNames, actualFieldNames, matchCase, length, startIndex);
View SourceParameters
- 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
BooleanSee Also