QueryResultBase.GetSearchDisplayTitle Method
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Protected Friend Function GetSearchDisplayTitle ( _
objectDataRow As DataRow, _
strFirstTryUri As String, _
strBackupTitle As String _
) As String
'Usage
Dim objectDataRow As DataRow
Dim strFirstTryUri As String
Dim strBackupTitle As String
Dim returnValue As String
returnValue = Me.GetSearchDisplayTitle(objectDataRow, _
strFirstTryUri, strBackupTitle)
protected internal string GetSearchDisplayTitle(
DataRow objectDataRow,
string strFirstTryUri,
string strBackupTitle
)
Parameters
objectDataRow
Type: System.Data.DataRowA DataRow object that represents the item in the result set containing the desired title value.
strFirstTryUri
Type: System.StringA string that contains the name of the column in the result set to use as the title.
strBackupTitle
Type: System.StringA string that contains a default title.
Return Value
Type: System.String