IVsCodeDefView::GetRefreshDelay Method (UInt32)

 

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)

int GetRefreshDelay(
	[OutAttribute] unsigned int% pcMilliseconds
)

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.

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.

From vsshell80.idl:

HRESULT IVsCodeDefView::GetRefreshDelay(
   [out] ULONG *pcMilliseconds
);
Return to top
Show: