CollectionView for WinForms
CreateFilterFromString<T> メソッド

C1.CollectionView アセンブリ > C1.CollectionView 名前空間 > ICollectionViewEx クラス : CreateFilterFromString<T> メソッド
The collection view.
The query string to be filtered.
if set to true treat spaces as and operator.
if set to true it will look into numeric fields.
If set to true the case will be taken into account.
If set to true the whole word will have to be matched.
Creates a FilterExpression from a query string.
シンタックス
'宣言
 
Public Shared Function CreateFilterFromString(Of T As Class)( _
   ByVal collectionView As ICollectionView(Of T), _
   ByVal query As System.String, _
   Optional ByVal treatSpacesAsAndOperator As System.Boolean, _
   Optional ByVal matchNumbers As System.Boolean, _
   Optional ByVal matchCase As System.Boolean, _
   Optional ByVal matchWholeWord As System.Boolean _
) As FilterExpression
public static FilterExpression CreateFilterFromString<T>( 
   ICollectionView<T> collectionView,
   System.string query,
   System.bool treatSpacesAsAndOperator,
   System.bool matchNumbers,
   System.bool matchCase,
   System.bool matchWholeWord
)
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
参照

ICollectionViewEx クラス
ICollectionViewEx メンバ