RichEditTextRange.SetRange(Int32, Int32) 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.
Sets the endpoints of the text range to the specified values.
public:
virtual void SetRange(int startPosition, int endPosition) = SetRange;
void SetRange(int const& startPosition, int const& endPosition);
public void SetRange(int startPosition, int endPosition);
function setRange(startPosition, endPosition)
Public Sub SetRange (startPosition As Integer, endPosition As Integer)
Parameters
- startPosition
-
Int32
int
The character position for the start of the text range. This parameter must be less than endPosition.
- endPosition
-
Int32
int
The character position for the end of the text range.
Implements
M:Microsoft.UI.Text.ITextRange.SetRange(System.Int32,System.Int32)
M:Microsoft.UI.Text.ITextRange.SetRange(int,int)
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin