共用方式為


IDebugDocumentTextEvents::onUpdateTextAttributes

Indicates that the text attributes associated with the underlying character position range have changed.

Syntax

HRESULT onUpdateTextAttributes(  
   ULONG  cCharacterPosition,  
   ULONG  cNumToUpdate  
);  

Parameters

cCharacterPosition
[in] The character position of the first character that the attributes have changed.

cNumToUpdate
[in] The number of characters in the range.

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 indicates that the text attributes associated with the underlying character position range have changed.

See also

IDebugDocumentTextEvents Interface