IVsRunningDocTableEvents.OnAfterAttributeChange(UInt32, UInt32) Method

Definition

Called after a change in an attribute of a document in the Running Document Table (RDT).

C++/CX
public:
 int OnAfterAttributeChange(unsigned int docCookie, unsigned int grfAttribs);

Parameters

docCookie
UInt32

[in] Abstract value representing the document whose attributes have changed.

grfAttribs
UInt32

[in] Flags corresponding to the changed attributes. Values are taken from the __VSRDTATTRIB enumeration.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

The environment calls this method when a document's attributes have changed:

COM Signature

From vsshell.idl:

cpp#
HRESULT IVsRunningDocTableEvents::OnAfterAttributeChange(  
   [in] VSCOOKIE docCookie,  
   [in] VSRDTATTRIB grfAttribs  
);  

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022