次の方法で共有


IXRTextBox::Select (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRTextBox
IXRTextBox::SelectAll