다음을 통해 공유


QueryResultBase Members

Include Protected Members
Include Inherited Members

The QueryResultBase class implements the base class for Web Parts that handle search query results.

The QueryResultBase type exposes the following members.

Constructors

  Name Description
Public method QueryResultBase The QueryResultBase constructor initializes a new instance of the QueryResultBase class.

Top

Properties

  Name Description
Public property AdvancedPagingControlMode Gets or sets the paging control mode of the WebPart. (Inherited from DataResultBase.)
Public property AlternatingCssClass Gets or sets the name of a CSS class defining alternating row display characteristics. (Inherited from DataResultBase.)
Public property CollapseGroupString Gets or sets the string that will be displayed with the collapse results control. (Inherited from DataResultBase.)
Public property ColumnDisplayNames Gets or sets the column heading names. (Inherited from DataResultBase.)
Public property ColumnNumberForEachItem Gets or sets the number of columns to display in the first row for each item in the result set. (Inherited from DataResultBase.)
Public property ColumnURIs Gets or sets the Uniform Resource Identifiers (URIs) associated with the columns. This enables you to choose the property on which the column will sort. (Inherited from DataResultBase.)
Public property ColumnWidths Gets or sets the width of columns in the search results page. (Inherited from DataResultBase.)
Public property DataColumnURISchema (Inherited from DataResultBase.)
Public property DefaultGroupBy Gets or sets the default column name by which to group the results. (Inherited from DataResultBase.)
Protected property DefaultScopes This member is reserved for internal use and is not intended to be used directly from your code.
Public property DefaultSortBy Gets or sets the default column name by which to sort the results. (Inherited from DataResultBase.)
Public property EnableQueryLogging Gets or sets a value that enables query logging. (Inherited from DataResultBase.)
Public property EnableSmartGrouping Gets or sets a value that enables smart grouping on the result set. (Inherited from DataResultBase.)
Public property EnableSQLCommandLogging Gets or sets a value that enables SQL command logging. (Inherited from DataResultBase.)
Public property ExpandGroupString (Inherited from DataResultBase.)
Public property FixLayout Gets or sets a value that indicates direct control of the table style. (Inherited from DataResultBase.)
Public property GroupByList Gets or sets the list of properties to group by. (Inherited from DataResultBase.)
Public property IsItemIconClickable (Inherited from DataResultBase.)
Public property MaxGroupPreviewNum (Inherited from DataResultBase.)
Public property MaxMatchingItemsNumber Gets or sets the upper limit of the number of documents that are displayed in one result page. (Inherited from DataResultBase.)
Public property OpenNewWindowForMatchingItems (Inherited from DataResultBase.)
Protected property QueryTemplate The QueryTemplate property of the QueryResultBase class gets the query template used by Web Parts that derive from this class.
Public property QueryTemplateFromPart 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.
Public property QueryTemplateOrderByPart 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.
Public property QueryTemplateSelectPart 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.
Public property QueryTemplateWherePart The QueryTemplateWherePart property of the QueryResultBase class gets or sets the WHERE clause of the query template used by Web Parts that derive from this class.
Public property ResultListID Gets or sets the identifier of the results Web Part. (Inherited from DataResultBase.)
Public property RowNumberForEachItem (Inherited from DataResultBase.)
Protected property SearchScopes This member is reserved for internal use and is not intended to be used directly from your code.
Public property ShowRankForEachItem (Inherited from DataResultBase.)
Protected property SiteName The SiteName property of the QueryResultBase class is reserved for internal use only.
Public property SortByList Gets or sets the list of properties to sort on. (Inherited from DataResultBase.)
Public property SupportExpandCollapseAll (Inherited from DataResultBase.)
Public property SupportGroupBy (Inherited from DataResultBase.)
Public property SupportItemIcon (Inherited from DataResultBase.)
Public property SupportPaging (Inherited from DataResultBase.)
Public property SupportShowHideDetail (Inherited from DataResultBase.)
Public property SupportSortBy (Inherited from DataResultBase.)
Public property TextForNoResults (Inherited from DataResultBase.)
Public property UseAlternatingColors (Inherited from DataResultBase.)

Top

Methods

  Name Description
Protected method AcquireHugeStringBuilder This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from DataResultBase.)
Protected method AcquireStringBuilder This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from DataResultBase.)
Public methodStatic member ConvertIDataReaderToDataSet Converts the contents of a System.Data.IDataReader interface to a System.Data.DataSet.
Protected method CreateActionMenusTemplates Creates action menu templates to avoid creating separate menus for each results item. (Inherited from DataResultBase.)
Protected method CreateChildControls Creates the control tree for the result set. (Inherited from DataResultBase.)
Public method CreateCustomMenu This member is reserved for internal use and is not intended to be used directly from your code.
Protected method GenerateHtmlForItemIcon The GenerateHtmlForItemIcon method of the QueryResultBase class generates the HTML for the icon for the specified DataRow in the search result set.
Protected method GenerateHtmlForRowColumn 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.
Protected method GenerateHtmlOneRowForOneItem The GenerateHtmlOneRowForOneItem method of the QueryResultBase class generates the HTML for one row for the specified DataRow in the search result set.
Protected method GenerateMenuButtonHtmlForItem The GenerateMenuButtonHtmlForItem method of the QueryResultBase class generates HTML for the menu button.
Protected method GenerateQueryString The GenerateQueryString method of the QueryResultBase class processes the query template and replaces placeholders with run-time values.
Protected method GetCurrentRow Override the GetCurrentRow method of the QueryResultBase class to get the current row in the search result set. (Overrides DataResultBase.GetCurrentRow().)
Protected method GetItemUrl The GetItemUrl method of the QueryResultBase class gets the URL of the specifed DataRow that represents one item in the result set.
Protected method GetQueryResults Override the GetQueryResults method of the QueryResultBase class if your derived class needs to support asynchronous queries. (Overrides DataResultBase.GetQueryResults(Object).)
Protected method GetSearchDisplayTitle
Protected method GetTotalMatchingItemNum (Inherited from DataResultBase.)
Protected method GetTotalResultRowNumber The GetTotalResultRowNumber method of the QueryResultBase class gets the total number of rows in the result set. (Overrides DataResultBase.GetTotalResultRowNumber().)
Protected method IsBestBet The IsBestBet method of the QueryResultBase class gets a flag that indicates whether the specified search result is a Best Bet.
Protected method IssueQuery The IssueQuery method of the QueryResultBase class executes the specified query. Returns a unique identifier for the query in the case of an asychronous query. Returns a DataSet with the query results if the query is executed without errors; otherwise, it returns null. (Overrides DataResultBase.IssueQuery(String, Int32, Int32).)
Protected method OnInit The OnInit method of the QueryResultBase class overrides the Microsoft.SharePoint.WebPartPages.WebPart.OnInit method. This method raises the System.Web.UI.Control.Init event that occurs as this Web Part is instantiated. (Overrides DataResultBase.OnInit(Object, EventArgs).)
Protected method OnLoad (Inherited from DataResultBase.)
Protected method OnPreRender The OnPreRender method of the QueryResultBase class overrides the Microsoft.SharePoint.WebPartPages.WebPart.OnPreRender method. This method raises the System.Web.UI.Control.PreRender event that occurs immediately before the Web Part is rendered to its containing Web Part Page. (Overrides DataResultBase.OnPreRender(Object, EventArgs).)
Protected method ReleaseHugeStringBuilder (Inherited from DataResultBase.)
Protected method ReleaseStringBuilder (Inherited from DataResultBase.)
Protected method RenderOneColumnTitle (Inherited from DataResultBase.)
Protected method RenderWebPart The RenderWebPart method of the QueryResultBase class overrides the Microsoft.SharePoint.WebPartPages.WebPart.RenderWebPart method. This method renders the HTML for the body of this Web Part to the client. (Overrides DataResultBase.RenderWebPart(HtmlTextWriter).)

Top

Fields

  Name Description
Protected field _GroupColumns This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from DataResultBase.)
Protected field IsAdminContextOnly (Inherited from DataResultBase.)
Protected field m_bAllSearchSourcesSelected The m_bAllSearchSourcesSelected field of the QueryResultBase class is reserved for internal use only.
Protected field m_strContextSensitiveScopeRealName
Protected field m_strKeywords The m_strKeywords field of the QueryResultBase class contains keywords used in the query string.
Protected field m_strQueryIssued This member is reserved for internal use and is not intended to be used directly from your code.
Protected field OutOfContext (Inherited from DataResultBase.)
Public fieldStatic member SearchScopeCategories_ExcludeAll This member is reserved for internal use and is not intended to be used directly from your code.
Public fieldStatic member SearchScopeCategories_IncludeChildren This member is reserved for internal use and is not intended to be used directly from your code.
Protected field UseHugeStringBuilderBuffer (Inherited from DataResultBase.)

Top

See Also

Reference

QueryResultBase Class

Microsoft.SharePoint.Portal.WebControls Namespace