This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IO > IObjectMemoizer Interface > IObjectMemoizer.Add Method (ArcObjects .NET 10.4 SDK) |
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