IDebugDocumentTextAuthor::InsertText

Inserts new text into the document.

Syntax

HRESULT InsertText(  
   ULONG    cCharacterPosition,  
   ULONG    cNumToInsert,  
   OLECHAR  pcharText[]  
);  

Parameters

cCharacterPosition
[in] Location to insert text.

cNumToInsert
[in] Number of characters to insert.

pcharText[]
[in] A buffer containing the characters to insert.

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 inserts new text into the document.

See also

IDebugDocumentTextAuthor Interface
IDebugDocumentTextAuthor::RemoveText