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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IOleInPlaceSiteWindowless Interface