IVsSimpleObjectList2.UpdateCounter Method
Returns the current change counter for the tree list, and is used to indicate that the list contents have changed.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function UpdateCounter ( _
<OutAttribute> ByRef pCurUpdate As UInteger _
) As Integer
int UpdateCounter(
out uint pCurUpdate
)
int UpdateCounter(
[OutAttribute] unsigned int% pCurUpdate
)
abstract UpdateCounter :
pCurUpdate:uint32 byref -> int
function UpdateCounter(
pCurUpdate : uint
) : int
Parameters
pCurUpdate
Type: UInt32%[out] Pointer to the update counter of the current tree list.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsSimpleObjectList2::UpdateCounter(
[out] ULONG *pCurUpdate
);
Returning an update counter greater than the last one cached by a given tree forces calls to GetItemCountand LocateExpandedList as needed.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.