共用方式為


IDebugDocumentTextEvents2::onUpdateDocumentAttributes

Notifies receiver of the event that the document attributes have been updated.

HRESULT onUpdateDocumentAttributes( 
   TEXT_DOC_ATTR_2 textdocattr
);
int onUpdateDocumentAttributes( 
   enum_TEXT_DOC_ATTR_2 textdocattr
);

Parameters

  • textdocattr
    [in] A combination of flags from the TEXT_DOC_ATTR_2 enumeration that specifies the updated attributes of the document.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

Reference

IDebugDocumentTextEvents2

TEXT_DOC_ATTR_2