Gets the ordinal field index of the field with the specified name.
Syntax
Visual Basic (Declaration) | |
---|
Function GetOrdinal( _
ByVal fieldName As System.String _
) As System.Integer |
C# | |
---|
System.int GetOrdinal(
System.string fieldName
) |
Parameters
- fieldName
- A String value of the field name for which to get the ordinal.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also