Running Doc Table Events. On After Attribute Change(UInt32, UInt32) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called after a change in an attribute of a document in the Running Document Table (RDT).
public: int OnAfterAttributeChange(System::UInt32 docCookie, System::UInt32 grfAttribs);
public: int OnAfterAttributeChange(unsigned int docCookie, unsigned int grfAttribs);
int OnAfterAttributeChange(unsigned int docCookie, unsigned int grfAttribs);
public int OnAfterAttributeChange (uint docCookie, uint grfAttribs);
abstract member OnAfterAttributeChange : uint32 * uint32 -> int
Public Function OnAfterAttributeChange (docCookie As UInteger, grfAttribs As UInteger) As Integer
[in] Abstract value representing the document whose attributes have changed.
[in] Flags corresponding to the changed attributes. Values are taken from the __VSRDTATTRIB enumeration.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
The environment calls this method when a document's attributes have changed:
Changing the caption on the document's window also calls this method.
HRESULT IVsRunningDocTableEvents::OnAfterAttributeChange( [in] VSCOOKIE docCookie, [in] VSRDTATTRIB grfAttribs );