Condividi tramite


IOleInPlaceSiteWindowless.InvalidateRect(RECT[], Int32) Method

Definition

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

public:
 void InvalidateRect(cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ pRect, int fErase);
public:
 void InvalidateRect(Platform::Array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ pRect, int fErase);
void InvalidateRect(std::Array <Microsoft::VisualStudio::OLE::Interop::RECT> const & pRect, int fErase);
public void InvalidateRect (Microsoft.VisualStudio.OLE.Interop.RECT[] pRect, int fErase);
abstract member InvalidateRect : Microsoft.VisualStudio.OLE.Interop.RECT[] * int -> unit
Public Sub InvalidateRect (pRect As RECT(), fErase As Integer)

Parameters

pRect
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
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

Applies to