Partilhar via


Método IVsSmartTagData.GetTimerInterval

Obtém o intervalo do cronômetro.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (em Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Sintaxe

'Declaração
Function GetTimerInterval ( _
    <OutAttribute> ByRef piTime As Integer _
) As Integer
int GetTimerInterval(
    out int piTime
)
int GetTimerInterval(
    [OutAttribute] int% piTime
)
abstract GetTimerInterval : 
        piTime:int byref -> int
function GetTimerInterval(
    piTime : int
) : int

Parâmetros

  • piTime
    Tipo: Int32%

    [out] O intervalo do cronômetro, em milissegundos.

Valor de retorno

Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De textmgr2.idl:

HRESULT IVsSmartTagData::GetTimerInterval(
   [out] long *piTime
);

Segurança do .NET Framework

Consulte também

Referência

IVsSmartTagData Interface

Namespace Microsoft.VisualStudio.TextManager.Interop