Deletes the specified number of characters from the position indicated by the current TextPointer.
Assembly: PresentationFramework (in PresentationFramework.dll)
- Type: System.Int32
The number of characters to delete, starting at the current position. Specify a positive value to delete characters that follow the current position; specify a negative value to delete characters that precede the current position.
Return ValueType: System.Int32
The number of characters actually deleted.
The method is called at a position where text is not allowed.
Specify a positive value to delete characters that follow the current position (as in LogicalDirection.Forward); specify a negative value to delete characters that precede the current position (as in LogicalDirection.Backward).
The number of characters actually deleted may be less than the number specified by count. This happens in cases where count specifies more characters than exist to be deleted.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.