: QueryResultBase.GenerateHtmlForRowColumn (Método) (Microsoft.SharePoint.Portal.WebControls)
The GenerateHtmlForRowColumn method of the QueryResultBase class 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 Overridable Sub GenerateHtmlForRowColumn ( _
objectDataRow As DataRow, _
strColumnHtml As StringBuilder, _
iColumn As Integer _
)
'Uso
Dim objectDataRow As DataRow
Dim strColumnHtml As StringBuilder
Dim iColumn As Integer
Me.GenerateHtmlForRowColumn(objectDataRow, strColumnHtml, iColumn)
protected virtual void GenerateHtmlForRowColumn (
DataRow objectDataRow,
StringBuilder strColumnHtml,
int iColumn
)
Parámetros
- objectDataRow
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 to modify.
Comentarios
The GenerateHtmlForRowColumn method overrides the GenerateHtmlForRowColumn method in the DataResultBase 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
QueryResultBase (Clase)
QueryResultBase (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)