FlexReport for WPF
FindTextInstances メソッド (Utils)


C1.WPF.Document アセンブリ > C1.WPF.Document 名前空間 > Utils クラス : FindTextInstances メソッド
検索するテキスト。
検索する文字列。
検索を開始する場所のインデックス。
検索する部分文字列の長さ。
検索するインスタンスの最大数。
検索方向。
大文字小文字の違いを無視します。
完全に一致する単語を検索します。
文字列からテキストのインスタンスを検索します。
シンタックス
'宣言
 
Public Shared Function FindTextInstances( _
   ByVal what As System.String, _
   ByVal where As System.String, _
   ByVal fromIdx As System.Integer, _
   ByVal length As System.Integer, _
   ByVal maxCount As System.Integer, _
   ByVal forward As System.Boolean, _
   ByVal matchCase As System.Boolean, _
   ByVal word As System.Boolean _
) As System.Collections.Generic.IList(Of Integer)
'使用法
 
Dim what As System.String
Dim where As System.String
Dim fromIdx As System.Integer
Dim length As System.Integer
Dim maxCount As System.Integer
Dim forward As System.Boolean
Dim matchCase As System.Boolean
Dim word As System.Boolean
Dim value As System.Collections.Generic.IList(Of Integer)
 
value = Utils.FindTextInstances(what, where, fromIdx, length, maxCount, forward, matchCase, word)
public static System.Collections.Generic.IList<int> FindTextInstances( 
   System.string what,
   System.string where,
   System.int fromIdx,
   System.int length,
   System.int maxCount,
   System.bool forward,
   System.bool matchCase,
   System.bool word
)

パラメータ

what
検索するテキスト。
where
検索する文字列。
fromIdx
検索を開始する場所のインデックス。
length
検索する部分文字列の長さ。
maxCount
検索するインスタンスの最大数。
forward
検索方向。
matchCase
大文字小文字の違いを無視します。
word
完全に一致する単語を検索します。

戻り値の型

見つかったインスタンスの場所を示すインデックスの配列。
参照

Utils クラス
Utils メンバ