IVsLibrary2::UpdateCounter Method (UInt32)
Visual Studio 2015
Returns the current change counter for the library and is used to indicate that the library contents have changed.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- pCurUpdate
-
Type:
System::UInt32
[out] Returns the current update counter.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IVsLibrary2::UpdateCounter( [out] ULONG *pCurUpdate );
The update counter is incremented any time an update is made to a library. The environment calls this method to get the current update counter to determine if it is necessary to again query a library object.
Show: