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

'宣言
Sub InvalidateRgn ( _
    hRGN As IntPtr, _
    fErase As Integer _
)
'使用
Dim instance As IOleInPlaceSiteWindowless
Dim hRGN As IntPtr
Dim fErase As Integer

instance.InvalidateRgn(hRGN, fErase)
void InvalidateRgn(
    IntPtr hRGN,
    int fErase
)
void InvalidateRgn(
    [InAttribute] IntPtr hRGN, 
    [InAttribute] int fErase
)
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

Permissions

See Also

Reference

IOleInPlaceSiteWindowless Interface

IOleInPlaceSiteWindowless Members

Microsoft.VisualStudio.OLE.Interop Namespace