Udostępnij za pośrednictwem


IOleInPlaceSiteWindowless.InvalidateRect Method

Enables an object to invalidate a specified rectangle 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 InvalidateRect ( _
    pRect As RECT(), _
    fErase As Integer _
)
void InvalidateRect(
    RECT[] pRect,
    int fErase
)
void InvalidateRect(
    [InAttribute] array<RECT>^ pRect, 
    [InAttribute] int fErase
)
abstract InvalidateRect : 
        pRect:RECT[] * 
        fErase:int -> unit 
function InvalidateRect(
    pRect : RECT[], 
    fErase : int
)

Parameters

  • pRect
    Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[]
    [in] Rectangle 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::InvalidateRect

.NET Framework Security

See Also

Reference

IOleInPlaceSiteWindowless Interface

Microsoft.VisualStudio.OLE.Interop Namespace