IVsSyntheticRegion.Invalidate Method
Handles deletion management, causing the region to go away and the text to become exposed and normal.
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
- dwUpdate
Type: System.UInt32
[in] Flag which is an ORed result of the CHANGE_SYNTHETIC_REGION_FLAGS enumeration.
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 IVsSyntheticRegion::Invalidate(
[in] DWORD dwUpdate
);
.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.