Partilhar via


Método IVsHiddenRegion.Invalidate

Remove a região oculta e expõe o texto oculto no modo de exibição normal.

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

Sintaxe

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

Parâmetros

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 textmgr.idl:

HRESULT IVsHiddenRegion::Invalidate(
   [in] DWORD dwUpdate
);

Esse método remove a região oculta. Ou seja, o texto torna-se expostos e normal. Este método é usado para gerenciar a exclusão de regiões ocultas.

Segurança do .NET Framework

Consulte também

Referência

IVsHiddenRegion Interface

Namespace Microsoft.VisualStudio.TextManager.Interop