Partilhar via


Método IVsContainedLanguage.Refresh

Recompila o arquivo de idioma ou o projeto inteiro.

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

Sintaxe

'Declaração
Function Refresh ( _
    dwRefreshMode As UInteger _
) As Integer
int Refresh(
    uint dwRefreshMode
)
int Refresh(
    [InAttribute] unsigned int dwRefreshMode
)
abstract Refresh : 
        dwRefreshMode:uint32 -> int
function Refresh(
    dwRefreshMode : uint
) : int

Parâmetros

  • dwRefreshMode
    Tipo: UInt32

    [in] Um valor a partir do ContainedLanguageRefreshMode enumeração que indica quais devem ser recompilado (o arquivo ou todo o projeto).

Valor de retorno

Tipo: Int32
Se bem-sucedida, retorna S_OK; Caso contrário, retorna um código de erro.

Comentários

COM assinatura

De singlefileeditor.idl:

HRESULT IVsContainedLanguage::Refresh(
   [in] DWORD dwRefreshMode
);

Segurança do .NET Framework

Consulte também

Referência

IVsContainedLanguage Interface

Namespace Microsoft.VisualStudio.TextManager.Interop