QueryResult<T> Constructor (IEnumerable<T>)
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Initializes a new instance of the QueryResult<T> class with the specified collection of result items.
Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)
Syntax
'Declaration
Public Sub New ( _
results As IEnumerable(Of T) _
)
'Usage
Dim results As IEnumerable(Of T)
Dim instance As New QueryResult(results)
public QueryResult(
IEnumerable<T> results
)
public:
QueryResult(
IEnumerable<T>^ results
)
new :
results:IEnumerable<'T> -> QueryResult
public function QueryResult(
results : IEnumerable<T>
)
Parameters
- results
Type: System.Collections.Generic.IEnumerable<T>
The query results.