RichEditTextRange.Delete(TextRangeUnit, 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.
Deletes text from the text range.
public:
virtual int Delete(TextRangeUnit unit, int count) = Delete;
int Delete(TextRangeUnit const& unit, int const& count);
public int Delete(TextRangeUnit unit, int count);
function delete(unit, count)
Public Function Delete (unit As TextRangeUnit, count As Integer) As Integer
Parameters
- unit
- TextRangeUnit
The unit of text to delete.
- count
-
Int32
int
The number of _unit_s to delete.
Returns
Int32
int
The number of _unit_s deleted. Deleting the text in a nondegenerate text range counts as one unit.
Implements
M:Microsoft.UI.Text.ITextRange.Delete(Microsoft.UI.Text.TextRangeUnit,System.Int32)
M:Microsoft.UI.Text.ITextRange.Delete(Microsoft.UI.Text.TextRangeUnit,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