Dela via


ITextRange.GetText(TextGetOptions, String) Method

Definition

Retrieves the text in a text range according to the specified conversion flags.

public:
 void GetText(TextGetOptions options, [Out] Platform::String ^ & value);
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)

Parameters

options
TextGetOptions

The conversion flags that control how the text is retrieved.

value
String

Platform::String

winrt::hstring

The text in the text range.

Applies to

See also