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
int Invalidate(
uint dwUpdate
)
int Invalidate(
[InAttribute] unsigned int dwUpdate
)
abstract Invalidate :
dwUpdate:uint32 -> int
function Invalidate(
dwUpdate : uint
) : int
Parameters
- dwUpdate
Type: System.UInt32
[in] Combining with the bitwise or of CHANGE_HIDDEN_REGION_FLAGS values.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.