다음을 통해 공유


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

‘선언
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

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

Microsoft.VisualStudio.TextManager.Interop Namespace