Get News Search Result collection.

Namespace: MonoSoftware.MonoX.BusinessLayer
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public virtual EntityCollection<NewsItemEntity> GetNewsSearchResultCollection(
	bool isFullTextSearch,
	string searchPhrase,
	int maxNoOfResults,
	IRelationPredicateBucket bucket,
	SortExpression sorter,
	IPrefetchPath2 prefetch,
	out int recordCount
)
Visual Basic
Public Overridable Function GetNewsSearchResultCollection ( 
	isFullTextSearch As Boolean,
	searchPhrase As String,
	maxNoOfResults As Integer,
	bucket As IRelationPredicateBucket,
	sorter As SortExpression,
	prefetch As IPrefetchPath2,
	<OutAttribute> ByRef recordCount As Integer
) As EntityCollection(Of NewsItemEntity)
Visual C++
public:
virtual EntityCollection<NewsItemEntity^>^ GetNewsSearchResultCollection(
	bool isFullTextSearch, 
	String^ searchPhrase, 
	int maxNoOfResults, 
	IRelationPredicateBucket^ bucket, 
	SortExpression^ sorter, 
	IPrefetchPath2^ prefetch, 
	[OutAttribute] int% recordCount
)
F#
abstract GetNewsSearchResultCollection : 
        isFullTextSearch : bool * 
        searchPhrase : string * 
        maxNoOfResults : int * 
        bucket : IRelationPredicateBucket * 
        sorter : SortExpression * 
        prefetch : IPrefetchPath2 * 
        recordCount : int byref -> EntityCollection<NewsItemEntity> 
override GetNewsSearchResultCollection : 
        isFullTextSearch : bool * 
        searchPhrase : string * 
        maxNoOfResults : int * 
        bucket : IRelationPredicateBucket * 
        sorter : SortExpression * 
        prefetch : IPrefetchPath2 * 
        recordCount : int byref -> EntityCollection<NewsItemEntity> 

Parameters

isFullTextSearch
Type: System..::..Boolean
Is Full Text Search
searchPhrase
Type: System..::..String
Search Phrase
maxNoOfResults
Type: System..::..Int32
Maximum number of search results to return
bucket
Type: IRelationPredicateBucket
Filter.
sorter
Type: SortExpression
Sorter.
prefetch
Type: IPrefetchPath2
Prefetch.
recordCount
Type: System..::..Int32%
Record count.

Return Value

Type: EntityCollection<(Of <(<'NewsItemEntity>)>)>
Search result

See Also