Partager via


IDebugDocumentTextEvents2::onUpdateDocumentAttributes

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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

Syntax

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

IDebugDocumentTextEvents2
TEXT_DOC_ATTR_2