| QueryableExReturnTResult Method (IQueryProvider, TResult) | 
            Returns a sequence with a single element.
            
 
Namespace: System.LinqAssembly: System.Interactive.Providers (in System.Interactive.Providers.dll) Version: 1.2.0.0
 Syntax
Syntaxpublic static IQueryable<TResult> Return<TResult>(
	this IQueryProvider provider,
	TResult value
)
Parameters
- provider
- Type: System.LinqIQueryProvider
 Query provider.
- value
- Type: TResult
 Single element of the resulting sequence.
Type Parameters
- TResult
- Result sequence element type.
Return Value
Type: 
IQueryableTResultSequence with a single element.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type 
IQueryProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see 
Extension Methods (Visual Basic) or 
Extension Methods (C# Programming Guide).
 See Also
See Also