Share via


ResultTable.GetOrdinal method

Returns the index for the specified column.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function GetOrdinal ( _
    name As String _
) As Integer
'Usage
Dim instance As ResultTable
Dim name As String
Dim returnValue As Integer

returnValue = instance.GetOrdinal(name)
public int GetOrdinal(
    string name
)

Parameters

Return value

Type: System.Int32
The column index.

Implements

IDataRecord.GetOrdinal(String)

See also

Reference

ResultTable class

ResultTable members

Microsoft.Office.Server.Search.Query namespace