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
'Déclaration
Function GetRefreshDelay ( _
<OutAttribute> ByRef pcMilliseconds As UInteger _
) As Integer
'Utilisation
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
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.