Fork me on GitHubEpicdominant domains
APIEpic.Query.ObjectSearchableCount<(Of <<'(TItem>)>>)(IDeferred<(Of <<'(IEnumerable<(Of <<'(TItem>)>>)>)>>))

Count<(Of <(<'TItem>)>)> Method (search)
Count the results of the specified search.

Assembly: Epic.Query.Object

Declaration Syntax
C#
public static uint Count<TItem>(
	this IDeferred<IEnumerable<TItem>> search
)
Generic Template Parameters
TItem
The type of the results.
Parameters
search (IDeferred<(Of <(<'IEnumerable<(Of <(<'TItem>)>)>>)>)>)
A search for TItem.
Return Value
The number of results that the specified search will return.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IDeferred<(Of <(<'IEnumerable<(Of <(<'TItem>)>)>>)>)>. When you use instance method syntax to call this method, omit the first parameter.
Exceptions
ExceptionCondition
ArgumentNullExceptionsearch is nullNothingnullptr.
DeferredEvaluationException<(Of <(<'TResult>)>)>The deferred evaluation failed.
blog comments powered by Disqus