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
'宣言
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
)
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
);
Permissions
- 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.