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:Windows.UI.Text.ITextRange.Delete(Windows.UI.Text.TextRangeUnit,System.Int32)
M:Windows.UI.Text.ITextRange.Delete(Windows.UI.Text.TextRangeUnit,int)
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro