RichTextBox for UWP/WinRT
Closest(Func<C1TextPointer,Boolean>,Func<C1TextPointer,C1TextPointer,Int32>,C1TextElement) メソッド

満たす必要がある述語。
距離関数。
検索する範囲。
述語を満たす最も近い位置を返します。
構文
'宣言
 
Public Overloads Function Closest( _
   ByVal predicate As System.Func(Of C1TextPointer,Boolean), _
   ByVal distance As System.Func(Of C1TextPointer,C1TextPointer,Integer), _
   ByVal range As C1TextElement _
) As C1TextPointer
public C1TextPointer Closest( 
   System.Func<C1TextPointer,bool> predicate,
   System.Func<C1TextPointer,C1TextPointer,int> distance,
   C1TextElement range
)

パラメータ

predicate
満たす必要がある述語。
distance
距離関数。
range
検索する範囲。

戻り値の型

述語を満たす最も近い位置。
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

参照

関連項目

C1TextPointer クラス
C1TextPointer メンバ
オーバーロード一覧

Send Feedback