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


IObjectMemoizer.Add Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

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 LPUNKNOWN

Product Availability

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

See Also

IObjectMemoizer Interface