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