IVsSimpleObjectList2.UpdateCounter 方法

返回树的当前更改计数器列表和使用指示列表内容已经更改。

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:  Microsoft.VisualStudio.Shell.Interop.8.0(在 Microsoft.VisualStudio.Shell.Interop.8.0.dll 中)

语法

声明
Function UpdateCounter ( _
    <OutAttribute> ByRef pCurUpdate As UInteger _
) As Integer
int UpdateCounter(
    out uint pCurUpdate
)

参数

  • pCurUpdate
    类型:System.UInt32%
    [out] 对当前树的更新计数器的指针列表。

返回值

类型:System.Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

备注

COM 签名

从 vsshell80.idl:

HRESULT IVsSimpleObjectList2::UpdateCounter(
   [out] ULONG *pCurUpdate
);

返回更新计数器大于特定树强制缓存的最后一个调用 GetItemCountLocateExpandedList 根据需要。

.NET Framework 安全性

请参见

参考

IVsSimpleObjectList2 接口

Microsoft.VisualStudio.Shell.Interop 命名空间