Compartilhar via


IVsRunningDocTableEvents2.OnAfterAttributeChange(UInt32, UInt32) Method

Definition

Called after a change in a document 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

Parameters

docCookie
UInt32

[in] Abstract value representing the document whose attributes have been 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.

Implements

Remarks

The environment calls this method when a document's attributes change Several things may change a document's attributes:

COM Signature

From vsshell.idl:

HRESULT IVsRunningDocTableEvents2::OnAfterAttributeChange(  
   [in] VSCOOKIE docCookie,  
   [in] VSRDTATTRIB grfAttribs  
);  

Applies to