: SearchResults.GenerateHtmlForRowColumn (Método) (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.
Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)
Sintaxis
'Declaración
Protected Overrides Sub GenerateHtmlForRowColumn ( _
oneDataRow As DataRow, _
strColumnHtml As StringBuilder, _
iColumn As Integer _
)
'Uso
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
)
Parámetros
- 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.
Comentarios
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.
Vea también
Referencia
SearchResults (Clase)
SearchResults (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)