ResultTable.GetOrdinal Method

Returns the index for the specified column.

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.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.SharePoint.Search.Query Namespace