Gemstone Common Library
Show/Hide TOC

# StringParserExpectedFieldNamesMatch Method

Validates that expected field names match field names found.

## Definition

Namespace: Gemstone.IO.Parsing
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.155 -- Release Build+a7d8ba87ff92af3282fc68a6fbfd37a854100b44
C#
View Source Request Example

    public static bool ExpectedFieldNamesMatch(
    	string[]? expectedFieldNames,
    	string[]? actualFieldNames,
    	bool matchCase = true,
    	int length = 0,
    	int startIndex = 0
    )

VB
View Source Request Example

    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

C++
View Source Request Example

    public:
    static bool ExpectedFieldNamesMatch(
    	array<String^>^ expectedFieldNames,
    	array<String^>^ actualFieldNames,
    	bool matchCase = true,
    	int length = 0,
    	int startIndex = 0
    )

JavaScript
View Source Request Example

    Gemstone.IO.Parsing.StringParser.ExpectedFieldNamesMatch = function(expectedFieldNames, actualFieldNames, matchCase, length, startIndex);

#### 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

[Missing <returns> documentation for "M:Gemstone.IO.Parsing.StringParser.ExpectedFieldNamesMatch(System.String[],System.String[],System.Boolean,System.Int32,System.Int32)"]

## See Also

#### Reference

StringParser Class
Gemstone.IO.Parsing Namespace