다음을 통해 공유


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

‘선언
Sub InvalidateRect ( _
    pRect As RECT(), _
    fErase As Integer _
)
‘사용 방법
Dim instance As IOleInPlaceSiteWindowless
Dim pRect As RECT()
Dim fErase As Integer

instance.InvalidateRect(pRect, fErase)
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

IOleInPlaceSiteWindowless Members

Microsoft.VisualStudio.OLE.Interop Namespace