DevForce Help Reference
GetFilterQueryForType Method


Entity type
Retrieve the filter query for the specified entity type.
Syntax
'Declaration
 
Public Function GetFilterQueryForType( _
   ByVal t As Type _
) As EntityQuery
'Usage
 
Dim instance As EntityQueryFilterCollection
Dim t As Type
Dim value As EntityQuery
 
value = instance.GetFilterQueryForType(t)
public EntityQuery GetFilterQueryForType( 
   Type t
)

Parameters

t
Entity type

Return Value

The filter, or null if not found
Remarks
The EntityQueryFilterCollection can contain only one filter per entity type, but may contain many filters for different types. Use this method to retrieve a single filter.
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

EntityQueryFilterCollection Class
EntityQueryFilterCollection Members

Send Feedback