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


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

IMapCooker2.UpdateByGeometry Method

Deletes cache for a given layer within a given extent.

[Visual Basic .NET]
Public Sub UpdateByGeometry ( _
    ByVal pMap As IMap, _
    ByVal pLayer As ILayer, _
    ByVal pDisplay As IDisplay, _
    ByVal pGeometry As IGeometry, _
    ByVal pLevels As ILongArray, _
    ByVal UpdateMode As esriMapCacheUpdateMode, _
    ByVal pTrackCancel As ITrackCancel _
)
[C#]
public void UpdateByGeometry (
    IMap pMap,
    ILayer pLayer,
    IDisplay pDisplay,
    IGeometry pGeometry,
    ILongArray pLevels,
    esriMapCacheUpdateMode UpdateMode,
    ITrackCancel pTrackCancel
);
[C++]
HRESULT UpdateByGeometry(
  IMap* pMap,
  ILayer* pLayer,
  IDisplay* pDisplay,
  IGeometry* pGeometry,
  ILongArray* pLevels,
  esriMapCacheUpdateMode UpdateMode,
  ITrackCancel* pTrackCancel
);
[C++]
Parameters
pMap [in]

pMap is a parameter of type IMap* pLayer [in]
pLayer is a parameter of type ILayer* pDisplay [in]
pDisplay is a parameter of type IDisplay* pGeometry [in]
pGeometry is a parameter of type IGeometry* pLevels [in]
pLevels is a parameter of type ILongArray* UpdateMode [in]
UpdateMode is a parameter of type esriMapCacheUpdateMode pTrackCancel [in]
pTrackCancel is a parameter of type ITrackCancel*

Product Availability

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

See Also

IMapCooker2 Interface