RichTextBox for UWP/WinRT
Split(Int32) メソッド

分割する位置を表すオフセット。オフセット以降の位置にある要素は、2番目の要素に追加されます。
この C1TextElement を指定されたオフセットで、同じスタイルプロパティを持つ同じ型の2つの要素に分割します。
構文
'宣言
 
Public Overloads Function Split( _
   ByVal offset As System.Integer _
) As C1TextPointer
public C1TextPointer Split( 
   System.int offset
)

パラメータ

offset
分割する位置を表すオフセット。オフセット以降の位置にある要素は、2番目の要素に追加されます。

戻り値の型

この要素と新しい要素の間の親要素内の位置を返します。
例外
例外解説
System.InvalidOperationExceptionこの要素には親がありません。
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

参照

関連項目

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

Send Feedback