DevForce Help Reference
OfType<TResult> Method (EntityQuery<T>)


Filters the elements of an IEntityQuery based on a specified type.
Syntax
'Declaration
 
Public Function OfType(Of TResult)() As EntityQuery(Of TResult)
'Usage
 
Dim instance As EntityQuery(Of T)
Dim value As EntityQuery(Of TResult)
 
value = instance.OfType(Of TResult)()
public EntityQuery<TResult> OfType<TResult>()

Type Parameters

TResult
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityQuery<T> Class
EntityQuery<T> Members

Send Feedback