Delen via


RichEditTextRange.Delete(TextRangeUnit, Int32) Method

Definition

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:Windows.UI.Text.ITextRange.Delete(Windows.UI.Text.TextRangeUnit,System.Int32) M:Windows.UI.Text.ITextRange.Delete(Windows.UI.Text.TextRangeUnit,int)

Applies to