Compartir a través de


: QueryResultBase.QueryTemplate (Propiedad) (Microsoft.SharePoint.Portal.WebControls)

The QueryTemplate property of the QueryResultBase class gets the query template used by Web Parts that derive from this class.

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
Protected ReadOnly Property QueryTemplate As String
'Uso
Dim value As String

value = Me.QueryTemplate
protected string QueryTemplate { get; }

Valor de propiedad

A string that contains the query template used by Web Parts that derive from this class.

Comentarios

The QueryTemplate property is read-only. QueryTemplate is a template for the query executed by Web Parts that derive from this class. The query template includes a SELECT clause, a FROM clause, a WHERE clause, and an ORDER BY clause. Derived classes can change the QueryTemplate and parse it at run time by using the QueryTemplateFromPart, QueryTemplateOrderByPart, QueryTemplateSelectPart, and QueryTemplateWherePart properties.

Vea también

Referencia

QueryResultBase (Clase)
QueryResultBase (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)