Returns zero-based index of a given field name in an array of field names

Namespace:  EGIS.ShapeFileLib
Assembly:  EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

Syntax

Visual Basic
Public Shared Function IndexOfField ( _
	fields As String(), _
	fieldName As String, _
	ignoreCase As Boolean _
) As Integer
C#
public static int IndexOfField(
	string[] fields,
	string fieldName,
	bool ignoreCase
)
Visual C++
public:
static int IndexOfField(
	array<String^>^ fields, 
	String^ fieldName, 
	bool ignoreCase
)
JavaScript
EGIS.ShapeFileLib.CsvUtil.indexOfField = function(fields, fieldName, ignoreCase);

Parameters

fields
Type: array<System..::..String>[]()[][]
fieldName
Type: System..::..String
ignoreCase
Type: System..::..Boolean

Return Value

See Also