Partager via


IDebugDocumentTextAuthor::RemoveText

Removes text from the document.

Syntax

HRESULT RemoveText(  
   ULONG  cCharacterPosition,  
   ULONG  cNumToRemove  
);  

Parameters

cCharacterPosition
[in] Start location of the character range to remove.

cNumToRemove
[in] Number of characters to remove.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.

Remarks

This method removes text from the document.

See also

IDebugDocumentTextAuthor Interface
IDebugDocumentTextAuthor::InsertText