IVsCodeDefView.GetRefreshDelay 方法

获取刷新延迟的值。

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

语法

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

参数

  • pcMilliseconds
    类型:System.UInt32%
    [out] 刷新延迟的当前值,以毫秒为单位。

返回值

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

备注

空闲时, 代码定义视图 窗口获取并显示最近驱动器的上下文。之间刷新刷新延时由时间。

COM 签名

从 vsshell80.idl:

HRESULT IVsCodeDefView::GetRefreshDelay(
   [out] ULONG *pcMilliseconds
);

.NET Framework 安全性

请参见

参考

IVsCodeDefView 接口

Microsoft.VisualStudio.Shell.Interop 命名空间