Share via


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)

Syntax

'Declaration
Function GetRefreshDelay ( _
    <OutAttribute> ByRef pcMilliseconds As UInteger _
) As Integer
int GetRefreshDelay(
    out uint pcMilliseconds
)
int GetRefreshDelay(
    [OutAttribute] unsigned int% pcMilliseconds
)
abstract GetRefreshDelay : 
        pcMilliseconds:uint32 byref -> int 
function GetRefreshDelay(
    pcMilliseconds : uint
) : int

Parameters

  • 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.

Remarks

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

Reference

IVsCodeDefView Interface

Microsoft.VisualStudio.Shell.Interop Namespace