NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IOverlayService.RemoveOverlay

Removes the given control from the overlay list. Unlike pushOverlay, this can remove a control from the middle of the overlay list.

[Visual Basic]
Sub RemoveOverlay( _
   ByVal control As Control _
)
[C#]
void RemoveOverlay(
   Control control
);
[C++]
void RemoveOverlay(
   Control* control
) = 0;
[JScript]
function RemoveOverlay(
   control : Control
);

Parameters

control
The control to remove. An exception will be thrown if this control is not currently in the list.

See Also

IOverlayService Interface | IOverlayService Members | System.WinForms.Design Namespace