Partager 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