共用方式為


IVsBrowseComponentSet.UpdateCounter Method

Returns the current state of the library counter. Indicates that the library contents have changed.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
Function UpdateCounter ( _
    <OutAttribute> ByRef pCurUpdate As UInteger _
) As Integer
'用途
Dim instance As IVsBrowseComponentSet
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%
    The current state of the 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 vsshell80.idl:

HRESULT UpdateCounter(
[out] ULONG *pCurUpdate
);

.NET Framework Security

See Also

Reference

IVsBrowseComponentSet Interface

IVsBrowseComponentSet Members

Microsoft.VisualStudio.Shell.Interop Namespace