Freigeben über


IVsHiddenRegion.Invalidate Method

Removes the hidden region and exposes the hidden text in the normal view.

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

Syntax

'Declaration
Function Invalidate ( _
    dwUpdate As UInteger _
) As Integer
'Usage
Dim instance As IVsHiddenRegion
Dim dwUpdate As UInteger
Dim returnValue As Integer

returnValue = instance.Invalidate(dwUpdate)
int Invalidate(
    uint dwUpdate
)
int Invalidate(
    [InAttribute] unsigned int dwUpdate
)
abstract Invalidate : 
        dwUpdate:uint32 -> int 
function Invalidate(
    dwUpdate : uint
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

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

This method removes the hidden region. That is, the text becomes exposed and normal. This method is used to manage deleting hidden regions.

.NET Framework Security

See Also

Reference

IVsHiddenRegion Interface

IVsHiddenRegion Members

Microsoft.VisualStudio.TextManager.Interop Namespace