Поделиться через


IXRTextBox::Select (Compact 2013)

3/28/2014

This method selects a range of text in this text box.

Syntax

virtual HRESULT STDMETHODCALLTYPE Select(
    int start, 
    int length
) = 0;

Parameters

  • start
    [in] An integer value that indicates the zero-based index of the first character in the selection.
  • length
    [in] An integer value that indicates the length of the selection, in characters.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.TextBox.Select

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRTextBox
IXRTextBox::SelectAll