Compartir a través de


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

The QueryTemplateSelectPart property of the QueryResultBase class gets or sets the SELECT 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)> _
<DefaultValueAttribute("")> _
<BrowsableAttribute(False)> _
Public Property QueryTemplateSelectPart As String
'Uso
Dim instance As QueryResultBase
Dim value As String

value = instance.QueryTemplateSelectPart

instance.QueryTemplateSelectPart = value
[WebPartStorageAttribute(Storage.Shared)] 
[DefaultValueAttribute("")] 
[BrowsableAttribute(false)] 
public string QueryTemplateSelectPart { get; set; }

Valor de propiedad

String that contains the SELECT 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 SELECT clause. For example, the SearchResults class sets this property to following string:

SELECT

"DAV:href",

"DAV:displayname",

"DAV:contentclass",

"DAV:getlastmodified",

"DAV:getcontentlength",

"DAV:iscollection",

"urn:schemas-microsoft-com:sharepoint:portal:profile:WorkPhone",

"urn:schemas-microsoft-com:sharepoint:portal:profile:WorkEmail",

"urn:schemas-microsoft-com:sharepoint:portal:profile:Title",

"urn:schemas-microsoft-com:sharepoint:portal:profile:Department",

"urn:schemas.microsoft.com:fulltextqueryinfo:PictureURL",

"urn:schemas-microsoft-com:office:office#Author",

"urn:schemas.microsoft.com:fulltextqueryinfo:description",

"urn:schemas.microsoft.com:fulltextqueryinfo:rank",

"urn:schemas.microsoft.com:fulltextqueryinfo:sitename",

"urn:schemas.microsoft.com:fulltextqueryinfo:displaytitle",

"urn:schemas-microsoft-com:publishing:Category",

"urn:schemas-microsoft-com:office:office#ows_CrawlType",

"urn:schemas-microsoft-com:office:office#ows_ListTemplate",

"urn:schemas-microsoft-com:office:office#ows_SiteName",

"urn:schemas-microsoft-com:office:office#ows_ImageWidth",

"urn:schemas-microsoft-com:office:office#ows_ImageHeight",

"DAV:getcontenttype",

"urn:schemas-microsoft-com:sharepoint:portal:area:Path",

"urn:schemas-microsoft-com:sharepoint:portal:area:CategoryUrlNavigation",

"urn:schemas-microsoft-com:publishing:CategoryTitle",

"urn:schemas.microsoft.com:fulltextqueryinfo:sdid",

"urn:schemas-microsoft-com:sharepoint:portal:objectid"

Vea también

Referencia

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