RichEditTextRange.SetText(TextSetOptions, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Replaces the text in the text range.
public:
virtual void SetText(TextSetOptions options, Platform::String ^ value) = SetText;
void SetText(TextSetOptions const& options, winrt::hstring const& value);
public void SetText(TextSetOptions options, string value);
function setText(options, value)
Public Sub SetText (options As TextSetOptions, value As String)
Parameters
- options
- TextSetOptions
The conversion flags that control how the text is inserted in the text range.
- value
-
String
Platform::String
winrt::hstring
The new text.
Implements
M:Windows.UI.Text.ITextRange.SetText(Windows.UI.Text.TextSetOptions,System.String)
M:Windows.UI.Text.ITextRange.SetText(Windows.UI.Text.TextSetOptions,Platform::String)
M:Windows.UI.Text.ITextRange.SetText(Windows.UI.Text.TextSetOptions,winrt::hstring)
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for