RichEditTextRange.GetText(TextGetOptions, String) 方法

定义

根据指定的转换标志检索文本范围中的文本。

public:
 virtual void GetText(TextGetOptions options, [Out] Platform::String ^ & value) = GetText;
void GetText(TextGetOptions const& options, [Out] winrt::hstring const& & value);
public void GetText(TextGetOptions options, out string value);
Public Sub GetText (options As TextGetOptions, ByRef value As String)

参数

options
TextGetOptions

控制如何检索文本的转换标志。

value
String

Platform::String

winrt::hstring

文本范围中的文本。

实现

M:Windows.UI.Text.ITextRange.GetText(Windows.UI.Text.TextGetOptions,System.String@) M:Windows.UI.Text.ITextRange.GetText(Windows.UI.Text.TextGetOptions,Platform::String@) M:Windows.UI.Text.ITextRange.GetText(Windows.UI.Text.TextGetOptions,winrt::hstring@)

适用于