: QueryResultBase.QueryTemplateOrderByPart (Propiedad) (Microsoft.SharePoint.Portal.WebControls)
The QueryTemplateOrderByPart property of the QueryResultBase class gets or sets the ORDER BY clause of 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
<BrowsableAttribute(False)> _
<DefaultValueAttribute("")> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property QueryTemplateOrderByPart As String
'Uso
Dim instance As QueryResultBase
Dim value As String
value = instance.QueryTemplateOrderByPart
instance.QueryTemplateOrderByPart = value
[BrowsableAttribute(false)]
[DefaultValueAttribute("")]
[WebPartStorageAttribute(Storage.Shared)]
public string QueryTemplateOrderByPart { get; set; }
Valor de propiedad
String that contains the ORDER BY clause of the query template used by Web Parts that derive from this class.
Comentarios
Override this property to get or set default values or placeholders for the ORDER BY clause. For example, the SearchResults class sets this property to " ORDER BY %__sort_by__%," where the "%__sort_by__%" sub-string is replaced by query values at runtime.
Vea también
Referencia
QueryResultBase (Clase)
QueryResultBase (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)