ArcObjects Library Reference (Carto)  

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