Version

CreateGenericFilter Method

Creates a FilterContext instanced typed to the object type of the data being processed.
Syntax
'Declaration
 
Public Shared Function CreateGenericFilter( _
   ByVal cachedTypeInfo As CachedTypedInfo, _
   ByVal fieldDataType As Type, _
   ByVal caseSensitive As Boolean, _
   ByVal fromDateColumn As Boolean _
) As FilterContext
public static FilterContext CreateGenericFilter( 
   CachedTypedInfo cachedTypeInfo,
   Type fieldDataType,
   bool caseSensitive,
   bool fromDateColumn
)

Parameters

cachedTypeInfo
The data object type that will be processed over.
fieldDataType
The field data type that will be processed on.
caseSensitive
True if case sensitivity should be applied. Only used for string fieldDataTypes.
fromDateColumn
True if this filter was created by a DateColumn and will perform some extra actions to filter out time aspect.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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