Compartilhar via


QueryResult<T>.GetRootResults Method

[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.]

Retrieves the root results.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Public Overrides Function GetRootResults As IEnumerable(Of Object)
'Usage
Dim instance As QueryResult
Dim returnValue As IEnumerable(Of Object)

returnValue = instance.GetRootResults()
public override IEnumerable<Object> GetRootResults()
public:
virtual IEnumerable<Object^>^ GetRootResults() override
abstract GetRootResults : unit -> IEnumerable<Object> 
override GetRootResults : unit -> IEnumerable<Object> 
public override function GetRootResults() : IEnumerable<Object>

Return Value

Type: System.Collections.Generic.IEnumerable<Object>
The root results.

See Also

Reference

QueryResult<T> Class

System.ServiceModel.DomainServices.Client Namespace