Partager via


SearchResults.GenerateHtmlForRowColumn, méthode (Microsoft.SharePoint.Portal.WebControls)

Generates the HTML that is displayed for a table cell in a table row for the specified DataRow in the search result set. This position in the rendered HTML results contains the path to the specified item.

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Protected Overrides Sub GenerateHtmlForRowColumn ( _
    oneDataRow As DataRow, _
    strColumnHtml As StringBuilder, _
    iColumn As Integer _
)
'Utilisation
Dim oneDataRow As DataRow
Dim strColumnHtml As StringBuilder
Dim iColumn As Integer

Me.GenerateHtmlForRowColumn(oneDataRow, strColumnHtml, iColumn)
protected override void GenerateHtmlForRowColumn (
    DataRow oneDataRow,
    StringBuilder strColumnHtml,
    int iColumn
)

Paramètres

  • oneDataRow
    Reference to the DataRow in the result set.
  • strColumnHtml
    StringBuilder that contains the HTML for the specified column. HTML is appended to this string.
  • iColumn
    Index of the column with HTML content to modify.

Remarques

The GenerateHtmlForRowColumn method overrides the GenerateHtmlForRowColumn method in the QueryResultBase class. It generates the HTML that is displayed for a table cell in a table row. This method is called when a DataRow is rendered for the first HTML table row. The table row can have several columns. Each column can be rendered by this method.

Voir aussi

Référence

SearchResults, classe
Membres SearchResults
Microsoft.SharePoint.Portal.WebControls, espace de noms