Creates a
FilterExpression from a query string.
シンタックス
'宣言
Public Shared Function CreateFilterFromString(Of As Class)( _
ByVal As ICollectionView(Of T), _
ByVal As System.String, _
Optional ByVal treatSpacesAsAndOperator As System.Boolean, _
Optional ByVal As System.Boolean, _
Optional ByVal As System.Boolean, _
Optional ByVal As System.Boolean _
) As FilterExpression
public static FilterExpression CreateFilterFromString<>(
ICollectionView<T> ,
System.string ,
System.bool treatSpacesAsAndOperator,
System.bool ,
System.bool ,
System.bool
)
where T: class
パラメータ
- collectionView
- The collection view.
- query
- The query string to be filtered.
- treatSpacesAsAndOperator
- if set to
true
treat spaces as and operator. - matchNumbers
- if set to
true
it will look into numeric fields. - matchCase
- If set to
true
the case will be taken into account. - matchWholeWord
- If set to
true
the whole word will have to be matched.
型パラメータ
- T
参照