Share via


ResultTable.GetOrdinal method

NOTE: This API is now obsolete.

Returns the index for the specified column.

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
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)
[ObsoleteAttribute("This class is obsolete.")]
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