다음을 통해 공유


IVsLibrary.UpdateCounter(UInt32) Method

Definition

Returns the current change counter for the library and is used to indicate that the library contents have changed.

public:
 int UpdateCounter([Runtime::InteropServices::Out] System::UInt32 % pCurUpdate);
int UpdateCounter([Runtime::InteropServices::Out] unsigned int & pCurUpdate);
public int UpdateCounter (out uint pCurUpdate);
abstract member UpdateCounter : uint32 -> int
Public Function UpdateCounter (ByRef pCurUpdate As UInteger) As Integer

Parameters

pCurUpdate
UInt32

[out] Pointer to a current update counter.

Returns

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

Remarks

COM Signature

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.

Applies to