IVsLibrary::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 (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pCurUpdate
-
Type:
System::UInt32
[out] Pointer to a current update counter.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsLibrary::UpdateCounter( [out] ULONG *pCurUpdate );
Increment pCurUpdate within code any time an update is made to a library. The environment checks this value to determine if it is necessary to re-query a library object.
Show: