Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns the current change counter for the library and is used to indicate that the library contents have changed.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function UpdateCounter ( _
<OutAttribute> ByRef pCurUpdate As UInteger _
) As Integer
'Usage
Dim instance As IVsLibrary
Dim pCurUpdate As UInteger
Dim returnValue As Integer
returnValue = instance.UpdateCounter(pCurUpdate)
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: System.UInt32%
[out] Pointer to a current update counter.
Return Value
Type: System.Int32
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.
.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.