This document is archived and information here might be outdated.  Recommended version.

IMapDescriptor.ClearMapSurrounds Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapDescriptor Interface > IMapDescriptor.ClearMapSurrounds Method
ArcGIS Developer Help

IMapDescriptor.ClearMapSurrounds Method

Remove all surrounds from the map.

[Visual Basic .NET]
Public Sub ClearMapSurrounds ( _
public void ClearMapSurrounds (
HRESULT ClearMapSurrounds(

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMapDescriptor Interface