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


IObjectMemoizer.Add Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IO > IObjectMemoizer Interface > IObjectMemoizer.Add Method
ArcGIS Developer Help

IObjectMemoizer.Add Method

Memoizes an object uniquely associated with the specified key. Adding more objects than allowed (as indicated by the .MaximumSize property) would cause one or more previously memoized items to be removed based on an implementation-specific eviction strategy.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal vtKey As Object, _
    ByVal ppObject As Object _
)
[C#]
public void Add (
    object vtKey,
    object ppObject
);
[C++]
HRESULT Add(
  VARIANT vtKey,
  LPUNKNOWN ppObject
);
[C++]
Parameters
vtKey [in]

vtKey is a parameter of type VARIANT ppObject [in]
ppObject is a parameter of type IUnknown

Product Availability

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

See Also

IObjectMemoizer Interface