RichTextBox for UWP/WinRT
ReplaceText(C1TextRange,String,C1Run) メソッド

C1.Xaml.RichTextBox.Documents.C1TextRange
挿入するテキストを含む文字列。
テキストを挿入する際に使用するスタイル設定済の C1.Xaml.RichTextBox.Documents.C1Run。null でもかまいません。
範囲をテキストに置き換えます。
構文
'宣言
 
Public Overloads Shared Function ReplaceText( _
   ByVal range As C1TextRange, _
   ByVal text As System.String, _
   ByVal styledRun As C1Run _
) As C1TextRange
public static C1TextRange ReplaceText( 
   C1TextRange range,
   System.string text,
   C1Run styledRun
)

パラメータ

range
C1.Xaml.RichTextBox.Documents.C1TextRange
text
挿入するテキストを含む文字列。
styledRun
テキストを挿入する際に使用するスタイル設定済の C1.Xaml.RichTextBox.Documents.C1Run。null でもかまいません。

戻り値の型

挿入されたテキストを囲む範囲。
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

参照

関連項目

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

Send Feedback