Collapse All Expand All Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: JavaScript

Visual Basic
C#
Visual C++
JavaScript

Easy GIS .NET API Reference
DbfReader..::.IndexOfFieldName Method
DbfReader Class See Also Send Feedback

returns the field index of fieldName. If a field with name fieldName does not exist the method will return -1

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

# Syntax

Visual Basic (Declaration)
    Public Function IndexOfFieldName ( _
    	fieldName As String _
    ) As Integer

C#
    public int IndexOfFieldName(
    	string fieldName
    )

Visual C++
    public:
    int IndexOfFieldName(
    	String^ fieldName
    )

#### Parameters

fieldName
  Type: System..::.String

#### Return Value

# See Also

DbfReader Class
EGIS.ShapeFileLib Namespace