RichTextBox for UWP/WinRT
CompareTo メソッド

比較する C1TextPointer。
この C1TextPointer の位置を別の C1TextPointer と比較します。
構文
'宣言
 
Public Function CompareTo( _
   ByVal other As C1TextPointer _
) As System.Integer
public System.int CompareTo( 
   C1TextPointer other
)

パラメータ

other
比較する C1TextPointer。

戻り値の型

ゼロより小さい値:この C1TextPointer の方が前にあります。ゼロ:この C1TextPointer は同じ位置にあります。ゼロより大きい値:この C1TextPointer の方が後にあります。
例外
例外解説
System.ArgumentException比較する位置がこの C1TextPointer と同じテキストコンテナに属していない場合は、ArgumentException を生成します。
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