Share via


IOleInPlaceSiteWindowless.InvalidateRgn Method

Enables an object to invalidate a specified region of its in-place image on the screen.

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

Syntax

'Declaration
Sub InvalidateRgn ( _
    hRGN As IntPtr, _
    fErase As Integer _
)
void InvalidateRgn(
    IntPtr hRGN,
    int fErase
)
void InvalidateRgn(
    [InAttribute] IntPtr hRGN, 
    [InAttribute] int fErase
)
abstract InvalidateRgn : 
        hRGN:IntPtr * 
        fErase:int -> unit 
function InvalidateRgn(
    hRGN : IntPtr, 
    fErase : int
)

Parameters

  • hRGN
    Type: System.IntPtr
    [in] Region to invalidate, in client coordinates of the containing window. If this parameter is NULL, the object's full extent is invalidated.
  • fErase
    Type: System.Int32
    [in] Specifies whether the background within the update region is to be erased when the region is updated. If this parameter is TRUE, the background is erased. If this parameter is FALSE, the background remains unchanged.

Remarks

For information on the COM interface, see IOleInPlaceSiteWindowless::InvalidateRgn

.NET Framework Security

See Also

Reference

IOleInPlaceSiteWindowless Interface

Microsoft.VisualStudio.OLE.Interop Namespace