IVsCodeDefView.GetRefreshDelay Method

Gets the value of the refresh delay.

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


Function GetRefreshDelay ( _
    <OutAttribute> ByRef pcMilliseconds As UInteger _
) As Integer
‘사용 방법
Dim instance As IVsCodeDefView
Dim pcMilliseconds As UInteger
Dim returnValue As Integer

returnValue = instance.GetRefreshDelay(pcMilliseconds)
int GetRefreshDelay(
    out uint pcMilliseconds
int GetRefreshDelay(
    [OutAttribute] unsigned int% pcMilliseconds
abstract GetRefreshDelay : 
        pcMilliseconds:uint32 byref -> int 
function GetRefreshDelay(
    pcMilliseconds : uint
) : int


  • pcMilliseconds
    Type: System.UInt32%
    [out] Current value for the refresh delay, in milliseconds.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.


On idle, the Code Definition View window gets and presents the most recently pushed context. Time between refreshes is determined by the refresh delay time.

COM Signature

From vsshell80.idl:

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

.NET Framework Security

See Also


IVsCodeDefView Interface

IVsCodeDefView Members

Microsoft.VisualStudio.Shell.Interop Namespace